If you use perforce remotely and desire to have the awesome speed of git for tracking diffs, here is the solution: http://kb.perforce.com/article/1417/git-p4
However, I've noticed the following:
- Follow the instructions exactly
- It can take a while to import a large tree without getting history
- On a large tree, the first commit will take a long time as this command will sync the whole tree.
- If you do a commit that you do not want to send to perforce, you have to do a "git rebase -i" and remove the offending commit record. You cannot do a "git p4 submit" and then "p4 revert" the file you don't want to send.
- If you mess something up, things can get really confusing.
And that is my question. Is there a good explanation of how git-p4 uses the remote repositories? And an overall explanation of hot git-p4 works?
git-p4 is not for the faint-at-heart. I'm learning that you really need to understand git well in order to use it well.