diff options
author | William Carroll <wpcarro@gmail.com> | 2017-05-26T15·29-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2017-05-26T15·29-0400 |
commit | f43ed77b120540e90f0a5bbf1244f96d4496e0bc (patch) | |
tree | 43a34f641d0670c7d98a48eb16ba94b6ecaf2c73 /aliases.sh | |
parent | a3cce605af75363c3e94f73de05bf0dbec59f4d0 (diff) |
Updates git aliases
Diffstat (limited to 'aliases.sh')
-rw-r--r-- | aliases.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/aliases.sh b/aliases.sh index bd2588a73579..eafe7f00dfbc 100644 --- a/aliases.sh +++ b/aliases.sh @@ -37,3 +37,9 @@ 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' + +# git commit --amend --no-edit +alias gpf='git push --force' |