Skip to content

Instantly share code, notes, and snippets.

View georgeck's full-sized avatar
🏠
Working from home

George Chiramattel georgeck

🏠
Working from home
View GitHub Profile
@georgeck
georgeck / git-cheat-list.md
Created February 18, 2017 19:24
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>