Hello,
I would like to use git to be able to switch quickly between branches in Perforce (Main branch, branch for 1.1, branch for 1.2...). Is that possible?
I have tried to do:
git clone //Main
git-p4 rebase # ok
git-p4 sync //Release/backEnd-1.2/ --branch=1.2
git checkout 1.2
git-p4 rebase
Performing incremental import into refs/remotes/p4/master git branch
Depot paths: //Main/
No changes to import!
fatal: Not a valid object name HEAD1
Command failed: git cat-file commit HEAD1
It looks like I'm doing something wrong here.
Thanks,
Ludovic