commit f0e8b79dfddfc52b5b85db2b4c59da908f7c3ac6
parent c0b7bba75f383f063657b3805db0225bfb208ff6
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 19 Aug 2018 20:15:54 +0200
More git aliases
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/gitconfig b/gitconfig
@@ -6,6 +6,9 @@
co = checkout
cob = checkout -b
f = fetch --all
+ b = branch
+ br = branch --remote
+ bv = branch -vv
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
@@ -30,6 +33,7 @@
changes = diff --summary --stat
mergetest = merge --no-commit --no-f
delete-merged = "!git checkout master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
+ p = push
pushf = push --force-with-lease
[merge]