Skip to content

Commit

Permalink
+ add alias: fix-author
Browse files Browse the repository at this point in the history
  • Loading branch information
langchr86 committed Mar 19, 2024
1 parent 6fc6898 commit 1950650
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ git_alias_list:
- {alias: 'co', cmd: 'checkout'}
- {alias: 'cob', cmd: 'checkout -b'}
- {alias: 'fix', cmd: "!fix() { git commit --fixup $1 && GIT_SEQUENCE_EDITOR=: git rebase --interactive --autosquash --autostash $1~1; }; fix"}
- {alias: 'fix-author', cmd: "!fix() { git rebase --rebase-merges $1 --exec 'git commit --amend --no-edit --reset-author'; }; fix"}
- {alias: 'g', cmd: "!git gui"}
- {alias: 'k', cmd: "!gitk --all"}
- {alias: 'l', cmd: 'log --oneline'}
Expand Down

0 comments on commit 1950650

Please # to comment.