aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-06-04 16:37:45 +0200
committerMathias Bynens <mathias@qiwi.be>2012-06-04 16:37:45 +0200
commit4daba2f2c078e891aa1183eb7547bcbf23f92aa6 (patch)
treec2f98d719fe93d5f27fe4d7d5fc01dc82fca3ed8
parenta9942ac635f1f55c2c585e9d256419a48c2ba5ee (diff)
downloaddotfiles-4daba2f2c078e891aa1183eb7547bcbf23f92aa6.tar.gz
dotfiles-4daba2f2c078e891aa1183eb7547bcbf23f92aa6.tar.bz2
dotfiles-4daba2f2c078e891aa1183eb7547bcbf23f92aa6.zip
.gitconfig: Add `tags`, `branches` and `remotes` aliases
-rw-r--r--.gitconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index fdf1dcf..c74ff18 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -13,6 +13,10 @@
ca = !git add . && git add -u && git commit -a
# Switch to a branch, creating it if necessary
go = checkout -B
+ # Show verbose output about tags, branches or remotes
+ tags = tag -l
+ branches = branch -a
+ remotes = remote -v
# Credit an author on the latest commit
credit = "!f() { git commit --amend --author \"$1 <$2>\" -C HEAD; }; f"
# Undo a `git push`