Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [user]
- name = XXXX
- email = XXXX
- signingKey = XXX
- [alias]
- ### third party binaries
- quick-stats = ! /usr/local/bin/git-quick-stats
- qs = quick-stats
- ### my custom scripts
- migrate = !migrate-git $1 $2
- reset-additions = !gitAdditions | xargs rm -rf
- reset-modified = !gitModifications | xargs git co --
- ### my commands
- ac = !git add . && git cm
- acp = !sh -c 'git add -A && git commit -m \"$@\" && git pu' -
- add-modified = !gitModifications | xargs git add
- ##
- br = branch
- bra = branch -a
- brd = branch -d
- brD = branch -D
- ##
- ca = commit --amend --no-edit
- ci = commit
- cis = commit -S
- cl = clone
- cleanup = !cleanup-git
- cm = commit -m
- co = checkout
- cob = checkout -b
- cof = !sh -C 'git checkout $1 -- $2'
- cp = cherry-pick -n
- create-dev = !git checkout -b development && git push --set-upstream origin development
- ##
- graph = log --graph --oneline --all --abbrev-commit --pretty=oneline
- ##
- ll = log --pretty=format:%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn] --decorate --numstat
- logs = log --show-signature
- ls = log --pretty=format:%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn] --decorate
- ##
- m = merge
- ##
- pf = push -f
- pod = push origin --delete
- pst = push --tags
- pu = push
- ##
- release = !sh -c 'git tag v$1 && git pst' -
- rf = !git-reset-file $1 $2
- ##
- show-releases = tag -l v*.*.*
- st = status
- sts = status -s
- ##
- t = tag
- td = !sh -c 'git tag -d $1 && git push origin :refs/tags/$1' -
- ##
- undo = reset HEAD~1 --mixed
- unstage = reset --soft HEAD^
- up = pull --rebase --prune
- update = !git add . && git cm \"updates\" && git pu
- ##
- wip = !git add . && git commit -qm WIP
- wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
- [core]
- editor = vim
- autocrlf = input
- [cola]
- spellcheck = false
- [commit]
- gpgSign = true
Advertisement
Add Comment
Please, Sign In to add comment