Archives
If you just commited your changes to the Git repository, but you just now realized that the commit message is wrong or misspelled, there are a few options that Git gives you to undo your changes.
Mar 23rd, 2010 | Filed under Git
If you made several changes in a file, but only want to commit a portion of it, you can add the –patch option to the git add command.
Mar 11th, 2010 | Filed under Git