From b8602fe9242bd1527c69f5c6dad873330283912e Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 14 Feb 2012 18:20:10 +0100 Subject: .gitconfig: Add `go` and `ca` aliases --- .gitconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig index 94cf3cc..494a84a 100644 --- a/.gitconfig +++ b/.gitconfig @@ -5,6 +5,10 @@ s = status -s # Pull in remote changes for the current repository and all its submodules p = !"git pull; git submodule foreach git pull origin master" + # Commit all changes + ca = commit -a + # Switch to a branch, creating it if necessary + go = checkout -B # Undo a `git push` undopush = push -f origin HEAD^:master -- cgit v1.2.3