gitalias: add amends, amendss, change amend

Summary:
- amend: remove `-s` so it's pure `--amend`.
- amends: previous `amend` which is `-s`
- amendss: previous `amends` which is `-s -S`

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `sh deploy.sh` and run commands

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D76
This commit is contained in:
revi 2024-05-11 16:47:33 +09:00
parent 5cf35f9cbb
commit 14c908207b
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94

View file

@ -20,16 +20,17 @@
po= !echo 'ERROR: use por for master, and pon for main.' po= !echo 'ERROR: use por for master, and pon for main.'
por = push origin master por = push origin master
pon = push origin main pon = push origin main
amend = commit --amend -s amend = commit --amend
amends = commit --amend -s
cmt = commit -S -s cmt = commit -S -s
amends = commit --amend -S -s amendss = commit --amend -S -s
acmt = commit -a -S -s acmt = commit -a -S -s
acm = commit -a -s acm = commit -a -s
fup = fetch upstream fup = fetch upstream
com = !echo 'ERROR: use cor for master, and con for main.' com = !echo 'ERROR: use cor for master, and con for main.'
comr = checkout master comr = checkout master
comn = checkout main comn = checkout main
por = push origin pog = push origin
cob = checkout -b cob = checkout -b
# below are non-git command, signified via `!` in the comment # below are non-git command, signified via `!` in the comment
# https://issuetracker.revi.xyz/u/gitalias # https://issuetracker.revi.xyz/u/gitalias