aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-16 13:37:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-16 13:37:17 +1200
commitb741e1555b82aa268b38ea9ae6e395ac5a197732 (patch)
tree9ba11d263d740647757eb5ae5780bc69f1c7021c /git
parentAdd description to dotfiles(7df) manpage (diff)
downloaddotfiles-b741e1555b82aa268b38ea9ae6e395ac5a197732.tar.gz
dotfiles-b741e1555b82aa268b38ea9ae6e395ac5a197732.zip
Make "amend" a shortcut for "commit --amend"
Diffstat (limited to 'git')
-rw-r--r--git/gitconfig.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/git/gitconfig.m4 b/git/gitconfig.m4
index 6ae3afb6..d13e7fdb 100644
--- a/git/gitconfig.m4
+++ b/git/gitconfig.m4
@@ -5,6 +5,7 @@
pushUpdateRejected = false
[alias]
+ amend = commit --amend
ls = log --oneline
others = ls-files --others --exclude-standard
fuckit = "!git clean -dfx ; git reset --hard"