[Github-comments] [geany/geany] HACKING:remove rule that shouldn't be used (#2059)

elextr notifications at xxxxx
Sun Dec 12 02:17:45 UTC 2021


`--amend` only rewrites the immediately preceding and last commit on the branch, not any previous ones, but its a start.  

`--fixup` as suggested by @b4n allows for marking a commit as a fixup of any unmerged previous commit (not just the last one) and `--autosquash` will combine them.  So a reviewer can see in the log that they agreed with the proposed squash and the author needs only one command to do it.  But I don't know of any small to medium projects where its used regularly, I presume the kernal does, but examples like Julia or LLVM do not mention it and neither does the Github tutorial.  Again unusual or different workflows just raises the bar to contributions.

@andy5995 I didn't "suggest" anything here because a) I'm not sure what we want to do, and b) it only supports one liners (so far) but handy.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2059#issuecomment-991822257
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211211/e1095103/attachment.htm>


More information about the Github-comments mailing list