Skip to content

Instantly share code, notes, and snippets.

View stevester94's full-sized avatar

Steven Mackey stevester94

View GitHub Profile
@stevester94
stevester94 / git-cheat-list.md
Created February 17, 2017 23:31
Git cheat list

Git cheat list

  • name of the current banch and nothing else (for automation)

    git rev-parse --abbrev-ref HEAD
    
  • all commits that your branch have that are not yet in master

    git log master..<HERE_COMES_YOUR_BRANCH_NAME>