aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-02-14 17:24:12 +0100
committerMathias Bynens <mathias@qiwi.be>2012-02-14 17:24:12 +0100
commit10eed3c55b6ea71a8de2599396aeea5fd393f2f6 (patch)
tree6b0c86a6f40c40bf8f83f00bc58218c89b61f65b /.gitconfig
parent26b8f132f8fc69acf1f19e4596011a9ceff50db3 (diff)
downloaddotfiles-10eed3c55b6ea71a8de2599396aeea5fd393f2f6.tar.gz
dotfiles-10eed3c55b6ea71a8de2599396aeea5fd393f2f6.tar.bz2
dotfiles-10eed3c55b6ea71a8de2599396aeea5fd393f2f6.zip
Move `undopush` alias to `.gitconfig`, as suggested by @necolas
Also, add some other Git aliases while we’re at it.
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 2211735..8d7e03e 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,3 +1,8 @@
+[alias]
+ l = log -p
+ s = status
+ p = !"git pull; git submodule foreach git pull origin master"
+ undopush = push -f origin HEAD^:master
[apply]
whitespace = fix
[core]