4 ms·
There is an existing, well-established patch email workflow which git natively supports. Using that, and extending it when necessary, would make more sense. Se
by arghwhat 2y ago
There is an existing, well-established patch email workflow which git natively supports. Using that, and extending it when necessary, would make more sense.
See git-send-email and git-am.
- ulrischa 2y agoBut therefore I need git installed, right? I want to use it i.e. to commit some text via mail on my smartphone
- arghwhat 2y agoNo, but you need to be able to write a well-formatted diff, which is pretty much the minimum requirement for sharing changes. Emailing the entire new file every time will not work in anything but local tests as it cannot handle change conflicts. The format needs to know which parts of the file you changed, so your change does not accidentally undo other changes merged ahead of you.