Inits work for git aliases
This commit is contained in:
parent
abdd2a5c0d
commit
8b545b771c
3 changed files with 15 additions and 3 deletions
|
|
@ -31,6 +31,7 @@ alias wdirs='dirs | tr " " "\n" | sort -r'
|
|||
# GitHub integration
|
||||
alias git=hub
|
||||
|
||||
|
||||
# Git aliases
|
||||
# List MRU branches
|
||||
git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"'
|
||||
|
|
@ -38,6 +39,7 @@ git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate
|
|||
# List today's work
|
||||
git config --global alias.today 'log --since=00:00:00 --all --no-merges --oneline --author="$(git config --get user.email)"'
|
||||
|
||||
|
||||
# git commit --amend --no-edit
|
||||
alias gcan='git commit --amend --no-edit'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue