or add however many =^= you need to get back to the last good commit.
+*** Rewinding bare repositories
+
+If you're trying to [[http://stackoverflow.com/questions/4624881/how-can-i-uncommit-the-last-commit-in-a-git-bare-repository][roll back a few commits in a bare repository]]
+you'll need to use:
+
+ : $ git update-ref HEAD HEAD^
+
+If you're in another branch, use:
+
+ : $ git update-ref refs/heads/branch-name branch-name^
+
+And if you're going back further, use the sha1:
+
+ : $ git update-ref refs/heads/branch-name a12d48e2
+
** Git submodules, nesting/tracking sub-repositories.
This is a nice way of grouping associated projects. The submodules