-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.symlink
31 lines (31 loc) · 1.11 KB
/
gitconfig.symlink
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[alias]
lg = log --color --graph --pretty=format:'%C(black)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
co = checkout
ec = config --global -e
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
cob = checkout -b
cm = !git add -A && git commit -m
save = !git add -A && git commit -m 'SAVEPOINT'
wip = commit -am "WIP"
undo = reset HEAD~1 --mixed
amend = commit -a --amend
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f"
bdone = "!f() { git checkout ${1-master} && git up && git bclean ${1-master}; }; f"
backup = !git push bitbucket
st = status -sb
dryrpune = !git remote prune origin --dry-run
rprune = !remote prune origin
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
[user]
name = Jorden Whitefield
email = [email protected]
signingkey = CF5376B1888E5E42
[push]
default = simple
[core]
editor = vim
[color]
ui = auto
[commit]
gpgsign = true