-
-
Save giorgioriccardi/0c5e539b9dfba05e95cf9ea7287df113 to your computer and use it in GitHub Desktop.
Updating .gitignore and cleaning the cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 "Remove .gitignore cached files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment