I have browsed through the web, but I cannot find an answer. What I am trying to do is the following:
Now lets assume that reference branch in git is master
What I did is the following:
Another option was rebasing
The main problem is the broken link between the master branch and this masterp4 branch. I wondered if there is not an easier solution anyway. Unfortunately, I am a git n00b.
Thanks for any ideas,
Philipp
This is why game dev teams choose Perforce to manage it all, while still providing access to Git code.
More Support. Perforce has also created a new open-source GitHub repository to further engage with the game developer community.
Often, the p4 repository is the ultimate location for all code, thus a rebase workflow makes sense. This command does git p4 sync followed by git rebase to move local commits on top of updated p4 changes.
I'd go with creating 1000s of Perforce commits, so that history is preserved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With