Git: conflicts alias.

This commit is contained in:
Artem Sapegin 2012-12-13 16:27:12 +04:00
parent 38359da2f6
commit ab3cb53a00
2 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,10 @@ Add all staged files to previous commit.
Undo last commit withould loosing any changes.
### git conflicts
List of files with unresolved conflicts.
### gr
Jump to root folder of Git repo.

View File

@ -31,6 +31,7 @@
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