A time to rejoice and a time to grovel
Time to grovel, my gift to dan this morning was to erase all his hard work!! CRAP!!!!
Let me explain, Dan wanted to do a git commit but was confused when the files weren’t appearing in the repository on Github. The reason for this was that he thought that
$ git commit –am “message”
would also add any files that weren’t already in the index and it doesn’t. All it does is add currently tracked files in to the staging area and commit them so you don’t have to run 2 commands.
Dave Taylor - Software Engineer