Git cheatsheet

From Wasya Wiki
Revision as of 18:05, 2 May 2018 by Piousbox (Talk | contribs) (Created page with " Git cheatsheet - nifty git usage example. === check branch === git branch | grep -e "^*" | cut -d' ' -f 2 === see most recent branch === git branch -a --sort=-committerda...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Git cheatsheet - nifty git usage example.

check branch

git branch | grep -e "^*" | cut -d' ' -f 2

see most recent branch

git branch -a --sort=-committerdate
git branch -a --sort=committerdate