adding some aliases and cleaning-up indentation
This commit is contained in:
parent
b9afbac011
commit
b325d55834
1 changed files with 30 additions and 28 deletions
|
@ -14,12 +14,14 @@
|
||||||
br = branch
|
br = branch
|
||||||
ci = commit
|
ci = commit
|
||||||
st = status
|
st = status
|
||||||
|
ls = log --oneline
|
||||||
|
caa = commit -a --amend -C HEAD
|
||||||
unstage = reset HEAD --
|
unstage = reset HEAD --
|
||||||
last = log -1 HEAD
|
last = log -1 HEAD
|
||||||
undo = reset --soft HEAD^
|
undo = reset --soft HEAD^
|
||||||
amend = commit --amend
|
amend = commit --amend
|
||||||
random = !"git add -A; git commit -am \"$(echo $(curl -s http://whatthecommit.com/index.txt)\" (http://whatthecommit.com)\")\""
|
new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
|
||||||
deliver = "!bash ~/builds/git-deliver/deliver.sh"
|
bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f"
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
branch = auto
|
branch = auto
|
||||||
|
|
Loading…
Reference in a new issue