aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"