Skip Navigation

How to get a git clone --branch into an existing repository?

So I want to build blender fork but it fails to build on Visual Studio 2022. There is already a patch and a open PR that fixes the issue.

I have already git cloned the repository and I would want to only get the patch into my local repository. So I can build from that.

1
1 comments
  • So the correct command is
    git fetch https://github.com/illusion0001/goo-engine.git patch-4:patch-4
    git checkout goo-engine-main
    and git merge patch-4

    4