From 34b9fcc68ff7f6152a6704d8b8ae736a30593c20 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 6 Sep 2011 08:23:18 +0200 Subject: Add `undopush` alias. --- .aliases | 3 +++ 1 file changed, 3 insertions(+) (limited to '.aliases') 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" -- cgit v1.2.3