commit cd5d743aeaecd49a045eba394e30dd9c7a401665
parent 02ab33a3dbb5571ce4166325bd0efff5367ee45b
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Thu, 24 Sep 2020 19:53:54 +0200
Add more git shortcuts
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.config/git/config b/.config/git/config
@@ -5,6 +5,7 @@
[alias]
a = add
addurl = remote set-url --add origin
+ b = branch
c = commit
cm = commit -m
co = checkout
@@ -19,6 +20,8 @@
sh = stash
shp = stash pop
st = status
+ vd = difftool --tool=vimdiff --no-prompt
+ vdc = difftool --tool=vimdiff --no-prompt --cached
[sendemail]
from = Oscar Benedito <oscar@oscarbenedito.com>
smtpserver = smtp.mailbox.org