Monday, December 19, 2011

Git Walkthrough

I made a new project and added some files that were temporary (swap files, and ~ files) and I need to remove them.

First I want to get all files currently added

git log --pretty=format: --name-status | cut -f2- | sort -u
Then removing it is simply

git rm filename

No comments:

Post a Comment