Bash/Git: Refactor Git aliases, remove aliases exists in git-extras.

This commit is contained in:
Artem Sapegin
2012-12-14 20:01:18 +04:00
parent ab3cb53a00
commit 9fbc0e4bb3
7 changed files with 65 additions and 68 deletions

View File

@ -27,11 +27,6 @@
s = status -sb
l = log --graph --pretty=format:'%C(magenta)%h%C(blue)%d%Creset %s %C(blue bold)- %an, %ar%Creset'
ll = log --stat --abbrev-commit
ignore = !([ ! -e .gitignore ] && touch .gitignore) | echo $2 >> .gitignore
this = !git init && git add . && git commit -m \"Initial commit.\"
append = !git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend
undo = reset --mixed HEAD^
conflicts = !git ls-files -u | awk '{print $4}' | sort -u
[push]
default = current