Git - adding forgotten files
How many time have you commited somthing to git and forgot to add a file (or two ...), if this was perfoece / subverison / other, your screwed :) with git all you need to do is:
git commit --amend –C HEAD
This instructs git too add any indexed files to the commit + the '-C' reuses your previous commit message - no need to re-type it !
Please note: this works nicely before you push to a remote, if you already pushed the "missing files" commit to your remote master you will have to pull & merge which makes the 1 commit ( "missing files" commit) into 3 which kind of takes the point out of doing this ... so make sure you use this technique wisely.
Have I told you lately how git is awesome :)