.gitconfig

changeset 491
22a04cc90ff9
parent 489
ba71ed414be4
child 492
e5d6f6523162
equal deleted inserted replaced
490:ad833184063c 491:22a04cc90ff9
21 st = status -sb 21 st = status -sb
22 co = checkout 22 co = checkout
23 br = branch 23 br = branch
24 staged = diff --cached 24 staged = diff --cached
25 unstage = reset HEAD -- 25 unstage = reset HEAD --
26 up = pull -r --all --prune 26 up = pull -r --prune
27 update = "!git remote update -p && git merge --ff-only --stat @{u}" 27 update = "!git remote update -p && git merge --ff-only --stat @{u}"
28 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" 28 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}"
29 out = "!git log --pretty=onelinecustom @{u}.." 29 out = "!git log --pretty=onelinecustom @{u}.."
30 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" 30 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}"
31 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" 31 cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d"

mercurial