Add 't' alias to .gitconfig
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
06da784e10
commit
a75a4a461f
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,10 @@
|
||||||
c = commit -s
|
c = commit -s
|
||||||
|
|
||||||
# Push to the master branch of the origin remote
|
# Push to the master branch of the origin remote
|
||||||
p = push origin master
|
p = push origin master --tags
|
||||||
|
|
||||||
|
# Tag the latest commit
|
||||||
|
t = !sh -c 'git tag -a $1 -m $1' -
|
||||||
|
|
||||||
# Shortcut for diff
|
# Shortcut for diff
|
||||||
d = diff
|
d = diff
|
||||||
|
@ -24,5 +27,6 @@
|
||||||
[color]
|
[color]
|
||||||
# Activate color use in git commands
|
# Activate color use in git commands
|
||||||
ui = auto
|
ui = auto
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
editor = vim
|
editor = vim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue