bigpresh / bigpresh/dotfiles

Idea: "git commit fixup last" alias

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

It'd be useful to have an alias that finds the last commit and makes this next commit a fixup for it to be used with `git rebase --autosquash` automatic fixup squashing...

e.g. `gfl` for `git-fixup-last` or something, which:
* Does `git log` to extract most recent SHA on this branch and the files affected by it
* Does a `git commit` on those files with `--fixup=$sha` to mark it as a fixup

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.