From 10eed3c55b6ea71a8de2599396aeea5fd393f2f6 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 14 Feb 2012 17:24:12 +0100 Subject: Move `undopush` alias to `.gitconfig`, as suggested by @necolas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, add some other Git aliases while we’re at it. --- .gitconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.gitconfig') 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] -- cgit v1.2.3