Skip to content

Commit

Permalink
feat(git): add git fixup alias
Browse files Browse the repository at this point in the history
Add a `git fixup` alias for `git commit --fixup=HEAD`

Running `git fixup -a` also works to add all changed files that are
already under version control
  • Loading branch information
matijs committed Jul 20, 2024
1 parent 0d9720d commit f5843fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[alias]
autosquash = -c sequence.editor=true rebase --interactive
difft = -c diff.external=difft diff
fixup = commit --fixup=HEAD
log-no-tags = log --decorate-refs-exclude=refs/tags
pushf = push --force-with-lease
remotes = remote --verbose
Expand Down

0 comments on commit f5843fd

Please sign in to comment.