Question

I noticed that when using git-p4 submit, regardless of what branch I am in on git, it always sends my code to the place in p4 where I cloned it originally. That's my desired behavior when I am on the master branch, however, I'd like to correlate other local branches to other remote p4 branches. That is, I want to "track" or "publish" branches other than master from git to p4. Is that possible?

Était-ce utile?

La solution

Yes, although it takes a bit of setup. Have a look at the detect-branches option. You'll need to have a Perforce branch spec for each Perforce branch.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top