Guest User

Untitled

a guest
Dec 2nd, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. amend='git commit --amend'
  2. g=git
  3. ga='git add'
  4. gaa='git add --all'
  5. gac='git add . && git commit -v'
  6. gapa='git add --patch'
  7. gb='git branch'
  8. gba='git branch -a'
  9. gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -n 1 git branch -d'
  10. gbl='git blame -b -w'
  11. gbnm='git branch --no-merged'
  12. gbr='git branch --remote'
  13. gbs='git bisect'
  14. gbsb='git bisect bad'
  15. gbsg='git bisect good'
  16. gbsr='git bisect reset'
  17. gbss='git bisect start'
  18. gc='git commit -v'
  19. 'gc!'='git commit -v --amend'
  20. gca='git commit -v -a'
  21. 'gca!'='git commit -v -a --amend'
  22. 'gcan!'='git commit -v -a -s --no-edit --amend'
  23. gcb='git checkout -b'
  24. gcf='git config --list'
  25. gcl='git clone --recursive'
  26. gclean='git reset --hard && git clean -dfx'
  27. gcm='git checkout master'
  28. gcmsg='git commit -m'
  29. gco='git checkout'
  30. gcount='git shortlog -sn'
  31. gcp='git cherry-pick'
  32. gcs='git commit -S'
  33. gd='git diff'
  34. gdca='git diff --cached'
  35. gdt='git diff-tree --no-commit-id --name-only -r'
  36. gdtc='git difftool --cached'
  37. gdw='git diff --word-diff'
  38. gf='git fetch'
  39. gfa='git fetch --all --prune'
  40. gfo='git fetch origin'
  41. gg='git gui citool'
  42. gga='git gui citool --amend'
  43. ggpull='git pull origin $(current_branch)'
  44. ggpush='git push origin $(current_branch)'
  45. ggsup='git branch --set-upstream-to=origin/$(current_branch)'
  46. gignore='git update-index --assume-unchanged'
  47. gignored='git ls-files -v | grep "^[[:lower:]]"'
  48. git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
  49. gk='\gitk --all --branches'
  50. gke='\gitk --all $(git log -g --pretty=format:%h)'
  51. gl='git pull'
  52. glg='git log --stat --color'
  53. glgg='git log --graph --color'
  54. glgga='git log --graph --decorate --all'
  55. glgm='git log --graph --max-count=10'
  56. glgp='git log --stat --color -p'
  57. glo='git log --oneline --decorate --color'
  58. glog='git log --oneline --decorate --color --graph'
  59. glol='git log --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit'
  60. glola='git log --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit --all'
  61. glp=_git_log_prettily
  62. gm='git merge'
  63. gmom='git merge origin/master'
  64. gmt='git mergetool --no-prompt'
  65. gmtvim='git mergetool --no-prompt --tool=vimdiff'
  66. gmum='git merge upstream/master'
  67. gp='git push'
  68. gpd='git push --dry-run'
  69. gpoat='git push origin --all && git push origin --tags'
  70. gpu='git push upstream'
  71. gpv='git push -v'
  72. gr='git remote'
  73. gra='git remote add'
  74. grb='git rebase'
  75. grba='git rebase --abort'
  76. grbc='git rebase --continue'
  77. grbi='git rebase -i'
  78. grbm='git rebase master'
  79. grbs='git rebase --skip'
  80. grep='grep --color=auto --exclude-dir={.bzr,.cvs,.git,.hg,.svn}'
  81. grh='git reset HEAD'
  82. grhh='git reset HEAD --hard'
  83. grmv='git remote rename'
  84. grrm='git remote remove'
  85. grset='git remote set-url'
  86. grt='cd $(git rev-parse --show-toplevel || echo ".")'
  87. gru='git reset --'
  88. grup='git remote update'
  89. grv='git remote -v'
  90. gsb='git status -sb'
  91. gsd='git svn dcommit'
  92. gsi='git submodule init'
  93. gsps='git show --pretty=short --show-signature'
  94. gsr='git svn rebase'
  95. gss='git status -s'
  96. gst='git status'
  97. gsta='git stash'
  98. gstaa='git stash apply'
  99. gstd='git stash drop'
  100. gstl='git stash list'
  101. gstp='git stash pop'
  102. gsts='git stash show --text'
  103. gsu='git submodule update'
  104. gts='git tag -s'
  105. gunignore='git update-index --no-assume-unchanged'
  106. gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
  107. gup='git pull --rebase'
  108. gupv='git pull --rebase -v'
  109. gvt='git verify-tag'
  110. gwch='git whatchanged -p --abbrev-commit --pretty=medium'
  111. gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit -m "--wip--"'
  112. nowip='git reset HEAD~'
  113. wip='git add . && git commit -m "WIP"'
Add Comment
Please, Sign In to add comment