Guest User

Untitled

a guest
Oct 16th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. Show git branch:
  2. GIT_BRANCH=$(git symbolic-ref HEAD 2>/dev/null); echo ${GIT_BRANCH#refs/heads/}
  3. or
  4. __git_ps1
Add Comment
Please, Sign In to add comment