Basic Git Notes

Posted August 23, 2011 in Git

github_icon

Saving State About to attempt something drastic? Before you do, take a snapshot of all files in the current directory and manage it with git. $ git init $ git add . $ git commit -m "My git backup" Now [...]

Git Force Overwrite

Posted August 10, 2011 in Git

Git-logo (1)

This one is hard to find out there so here it is. If you have an uncommitted change (its only in your working copy) that you wish to revert (in SVN terms) to the copy in your latest commit, do [...]