Skip to content

Generating patches? #85

Closed Answered by lamikr
jeroen-mostert asked this question in Q&A
Discussion options

You must be logged in to vote

No, I just use git format-patch, git commit --amend, git cherry-pick, patch -p1 < patch-name.patch and and other pretty regular commands. I do not like git merge commits, so I always try to make sure patches apply cleanly on top of the latest commit and therefore I use "git rebase and merge" strategy on github. I think I also once tested that squashing of multiple patches to one also worked.

This is my common sequence for example to latest deepspeed patches.
Note that commands 1 and 2 can be compined to be just (git commit -s) but I quite
ofter use amend command to edit later the description part or tittle to fix typos.

1) "git commit -s -m "tittle of patch"
2) git commit --amend
     add…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jeroen-mostert
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants