$ git log $ git git reset --hard SHA1_HASH $ git push --force
October 4, 2012
April 17, 2012
I’ve just started working with a team on git and I wanted a visual of what was going on every time I made a change and needed to checkin some code.
$ git branch -D topic-branch
How to create a remote branch and have your friend get it
Here’s a graphic showing one way of creating a remote branch, checking it in locally, pushing it to the remote server, and then having your friend pick it up.