Possible Duplicate:
git - removing a file from source control (but not from the source)
I have a .DS_Store file that is in the path project/app/assets/javascripts.
How do I remove from this file git tracking?
Possible Duplicate:
git - removing a file from source control (but not from the source)
I have a .DS_Store file that is in the path project/app/assets/javascripts.
How do I remove from this file git tracking?
rm .DS_Store
git add -A
git commit -m "getting rid of artifact."
echo .DS_Store >> .gitignore
git add -A
git commit -m "ignoring artifact."