: $ git remote rm bob
: $ git remote prune bob
+** Restore a deleted file to match an earlier version
+Source: [[http://stackoverflow.com/questions/953481/restore-a-deleted-file-in-a-git-repo][stackoverflow]].
+
+Find the commit that deleted the file in question
+
+ : $ git rev-list -n 1 HEAD -- <file_path>
+
+or
+
+ : $ git log --diff-filter=D --summary
+
+Then checkout the file
+
+ : $ git checkout <deleting_commit>^ -- <file_path>
+
** Move master.HEAD to a different location
Sometimes you screw up and want to drop the thread you've been working