Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. [gui]
  2. recentrepo = /home/ahmada/Workspace/tyra-5
  3.  
  4. [user]
  5. email = ahmad.alhour@trustyou.net
  6. name = Ahmad Alhour
  7.  
  8. [alias]
  9. # one-line log
  10. l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
  11.  
  12. a = add
  13. ap = add -p
  14. c = commit --verbose
  15. ca = commit -a --verbose
  16. cm = commit -m
  17. cam = commit -a -m
  18. m = commit --amend --verbose
  19.  
  20. d = diff
  21. ds = diff --stat
  22. dc = diff --cached
  23.  
  24. st = status
  25. s = status -s
  26. br = branch
  27. co = checkout
  28. cob = checkout -b
  29. # list branches sorted by last modified
  30. b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
  31.  
  32. # list aliases
  33. la = "!git config -l | grep alias | cut -c 7-"
  34.  
  35. [push]
  36. default = simple
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement