aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2011-09-06 08:23:18 +0200
committerMathias Bynens <mathias@qiwi.be>2011-09-06 08:23:18 +0200
commit34b9fcc68ff7f6152a6704d8b8ae736a30593c20 (patch)
tree00fd1c5755fbd567b3aa8bb881d6461285b28025
parentac5170bfa7c45e0ef885d1c76a37bb2fd470b6c0 (diff)
downloaddotfiles-34b9fcc68ff7f6152a6704d8b8ae736a30593c20.tar.gz
dotfiles-34b9fcc68ff7f6152a6704d8b8ae736a30593c20.tar.bz2
dotfiles-34b9fcc68ff7f6152a6704d8b8ae736a30593c20.zip
Add `undopush` alias.
-rw-r--r--.aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index 299b131..fb1a37a 100644
--- a/.aliases
+++ b/.aliases
@@ -7,6 +7,9 @@ alias -- -="cd -"
# List all files colorized in long format, including dot files
alias la="ls -Gla"
+# Undo a `git push`
+alias undopush="git push -f origin HEAD^:master"
+
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="ipconfig getifaddr en1"