Skip to content

Instantly share code, notes, and snippets.

@jgeewax
Created August 20, 2010 23:37
Show Gist options
  • Save jgeewax/541448 to your computer and use it in GitHub Desktop.
Save jgeewax/541448 to your computer and use it in GitHub Desktop.
(1.0)jj@im-jj:~/demo$ git log --abbrev-commit --pretty=oneline
8e3a5f9 Added bugfix number 2
52a6d49 Added bug fix
97a0f2a Minor commit
099214d Minor commit
d0e9912 Issue 12 - Added new feature XYZ
c348893 Added fixed typo
309291d Initial Commit
(1.0)jj@im-jj:~/demo$ git reset --hard 52a6d49
HEAD is now at 52a6d49 Added bug fix
(1.0)jj@im-jj:~/demo$ git log --abbrev-commit --pretty=oneline
52a6d49 Added bug fix
97a0f2a Minor commit
099214d Minor commit
d0e9912 Issue 12 - Added new feature XYZ
c348893 Added fixed typo
309291d Initial Commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment