aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-02-14 18:20:10 +0100
committerMathias Bynens <mathias@qiwi.be>2012-02-14 18:20:10 +0100
commitb8602fe9242bd1527c69f5c6dad873330283912e (patch)
tree387b9aa0fcd25acb5fe7b4291fda1eb9f3915df1
parentc625c47054bc7f67557cdeddddb5397721cda2c2 (diff)
downloaddotfiles-b8602fe9242bd1527c69f5c6dad873330283912e.tar.gz
dotfiles-b8602fe9242bd1527c69f5c6dad873330283912e.tar.bz2
dotfiles-b8602fe9242bd1527c69f5c6dad873330283912e.zip
.gitconfig: Add `go` and `ca` aliases
-rw-r--r--.gitconfig4
1 files changed, 4 insertions, 0 deletions
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