mirror of
https://github.com/wahyd4/dotfiles.git
synced 2026-08-09 04:46:12 +10:00
.gitconfig: Add tags, branches and remotes aliases
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user