diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-06-04 16:37:45 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-06-04 16:37:45 +0200 |
commit | 4daba2f2c078e891aa1183eb7547bcbf23f92aa6 (patch) | |
tree | c2f98d719fe93d5f27fe4d7d5fc01dc82fca3ed8 | |
parent | a9942ac635f1f55c2c585e9d256419a48c2ba5ee (diff) | |
download | dotfiles-4daba2f2c078e891aa1183eb7547bcbf23f92aa6.tar.gz dotfiles-4daba2f2c078e891aa1183eb7547bcbf23f92aa6.tar.bz2 dotfiles-4daba2f2c078e891aa1183eb7547bcbf23f92aa6.zip |
.gitconfig: Add `tags`, `branches` and `remotes` aliases
-rw-r--r-- | .gitconfig | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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` |