Git: conflicts alias.
This commit is contained in:
parent
38359da2f6
commit
ab3cb53a00
@ -48,6 +48,10 @@ Add all staged files to previous commit.
|
|||||||
|
|
||||||
Undo last commit withould loosing any changes.
|
Undo last commit withould loosing any changes.
|
||||||
|
|
||||||
|
### git conflicts
|
||||||
|
|
||||||
|
List of files with unresolved conflicts.
|
||||||
|
|
||||||
### gr
|
### gr
|
||||||
|
|
||||||
Jump to root folder of Git repo.
|
Jump to root folder of Git repo.
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
this = !git init && git add . && git commit -m \"Initial commit.\"
|
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
|
append = !git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend
|
||||||
undo = reset --mixed HEAD^
|
undo = reset --mixed HEAD^
|
||||||
|
conflicts = !git ls-files -u | awk '{print $4}' | sort -u
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user