Tuesday, June 23, 2015

A quick Git tutorial part4

 

gitignore
A common problem when adding .gitignore file is some undesired files are already tracked by Git.
To solve this problem, you need to do the following:
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
 
Solution is found here: http://stackoverflow.com/a/1139797
 
 

No comments:

Post a Comment

NSNotification example