Re: Move to git (and github)?

by Kunda » Fri Aug 03, 2018 10:07 pm

I found https://github.com/svn2github/sweet3dhome
In case dev want to hack on sweethome3d and use git...in order to generate a patch compatible with SVN (according to what I've read in https://stackoverflow.com/questions/708 ... compatible) you need to:

Create the patch with

Code: Select all

git diff --no-prefix master..branch > somefile.diff
the master and branch part are optional, depends how you want to get your diffs.
Then @Puybaret could apply it with

Code: Select all

patch -p0 < somefile.diff.