diff options
author | William Carroll <wpcarro@gmail.com> | 2017-06-13T15·36-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2017-06-13T15·36-0400 |
commit | 8b545b771c2cc7e65edb66094c69cfe48404e67e (patch) | |
tree | c83a7741ac331777c977f3bcd5c8adb42153a3b4 /aliases.sh | |
parent | abdd2a5c0dc706b803ba51ae38b6920a860af5af (diff) |
Inits work for git aliases
Diffstat (limited to 'aliases.sh')
-rw-r--r-- | aliases.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aliases.sh b/aliases.sh index eafe7f00dfbc..eeefdcd9d6e1 100644 --- a/aliases.sh +++ b/aliases.sh @@ -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' |