Last active
July 22, 2016 20:35
-
-
Save melvitax/3b1a2374e2cbb28d2cabd5ecd059d6e1 to your computer and use it in GitHub Desktop.
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
// Master list at: https://github.com/github/gitignore/tree/master/Global | |
// If you added a .gitignore file after doing your Xcode commit, git will continue tracking files even if they are listed in .gitignore. | |
// To fix this, move all of the files in the repository somewhere else on the filesystem (except .gitignore and .git), then run: | |
git add --all | |
git commit -m "Remove all files" | |
// Then add your files back in and run the following: | |
git add --all | |
git commit -m "Re-add files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment