Guest User

My .gitconfig (sanitised)

a guest
May 4th, 2020
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [user]
  2. name = XXXX
  3. email = XXXX
  4. signingKey = XXX
  5. [alias]
  6. ### third party binaries
  7. quick-stats = ! /usr/local/bin/git-quick-stats
  8. qs = quick-stats
  9.  
  10. ### my custom scripts
  11. migrate = !migrate-git $1 $2
  12. reset-additions = !gitAdditions | xargs rm -rf
  13. reset-modified = !gitModifications | xargs git co --
  14.  
  15. ### my commands
  16. ac = !git add . && git cm
  17. acp = !sh -c 'git add -A && git commit -m \"$@\" && git pu' -
  18. add-modified = !gitModifications | xargs git add
  19. ##
  20. br = branch
  21. bra = branch -a
  22. brd = branch -d
  23. brD = branch -D
  24. ##
  25. ca = commit --amend --no-edit
  26. ci = commit
  27. cis = commit -S
  28. cl = clone
  29. cleanup = !cleanup-git
  30. cm = commit -m
  31. co = checkout
  32. cob = checkout -b
  33. cof = !sh -C 'git checkout $1 -- $2'
  34. cp = cherry-pick -n
  35. create-dev = !git checkout -b development && git push --set-upstream origin development
  36. ##
  37. graph = log --graph --oneline --all --abbrev-commit --pretty=oneline
  38. ##
  39. ll = log --pretty=format:%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn] --decorate --numstat
  40. logs = log --show-signature
  41. ls = log --pretty=format:%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn] --decorate
  42. ##
  43. m = merge
  44.  
  45. ##
  46. pf = push -f
  47. pod = push origin --delete
  48. pst = push --tags
  49. pu = push
  50. ##
  51. release = !sh -c 'git tag v$1 && git pst' -
  52. rf = !git-reset-file $1 $2
  53. ##
  54. show-releases = tag -l v*.*.*
  55. st = status
  56. sts = status -s
  57. ##
  58. t = tag
  59. td = !sh -c 'git tag -d $1 && git push origin :refs/tags/$1' -
  60. ##
  61. undo = reset HEAD~1 --mixed
  62. unstage = reset --soft HEAD^
  63. up = pull --rebase --prune
  64. update = !git add . && git cm \"updates\" && git pu
  65. ##
  66. wip = !git add . && git commit -qm WIP
  67. wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
  68. [core]
  69. editor = vim
  70. autocrlf = input
  71. [cola]
  72. spellcheck = false
  73. [commit]
  74. gpgSign = true
RAW Paste Data