Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Last active May 4, 2020 20:42
Show Gist options
  • Save betweenbrain/7c25d22f33ec7fe4968ebd5a3146f51d to your computer and use it in GitHub Desktop.
Save betweenbrain/7c25d22f33ec7fe4968ebd5a3146f51d to your computer and use it in GitHub Desktop.
GIT Recipes

List only SHA1 of commits in current branch.
$ git log --format=format:%H --walk-reflogs {branch name}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment