3 ms·
For simple changes, you can just `git diff` it to a file, put that file on a pastebin and share that link with any communication tool (or share the file directl
by skydhash 1y ago
For simple changes, you can just `git diff` it to a file, put that file on a pastebin and share that link with any communication tool (or share the file directly). `git format-patch` is more where you want to share the commits (message and all). And you're not tied to using email. It's just a collection of files that you can share using whatever.
- lloydatkinson 1y agoIs this a common usage? While I’ve only attempted to use patch files with a Git GUI, they have always failed with errors 100% of the time for me. Given that Git GUIs just invoke Git, I don’t have a lot of faith in it.
- skydhash 1y agoThe only Git Gui I've used extensively is magit, and patch worked fine. It's very much like cherry picking commit or doing merge. There can be conflict so be sure to use `--3way` flag.
- SomeUserName432 1y agoCopy-as-patch in Intellij is great. Can easily apply minor changes, just sharing it over slack.