Skip to content

Instantly share code, notes, and snippets.

@danielcharrua
Forked from c33k/Update .gitignore
Created December 13, 2022 16:22
Show Gist options
  • Save danielcharrua/ecb738a96e2bc57da76580b5efb48ecb to your computer and use it in GitHub Desktop.
Save danielcharrua/ecb738a96e2bc57da76580b5efb48ecb to your computer and use it in GitHub Desktop.
Updating .gitignore and cleaning the cache
//First commit any outstanding code changes, and then, run this command:
git rm -r --cached .
//This removes any changed files from the index(staging area), then just run:
git add .
//Commit
git commit -m "Atualizando .gitignore para..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment