Advertisement
Guest User

Useful Git aliases

a guest
Mar 26th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. git config --global alias.co checkout
  4. git config --global alias.br branch
  5. git config --global alias.ci commit
  6. git config --global alias.st status
  7. git config --global alias.unstage 'reset HEAD --'
  8. git config --global alias.last 'log -1 HEAD'
  9. git config --global alias.visual '!gitk'
  10. git config --global alias.syncbr 'remote update --prune'
  11. git config --global alias.mkbr 'checkout -b'
  12. git config --global alias.track 'checkout --track'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement