Git p4 clone / sync: how to add a new P4 path

I created a spec for the P4 client view and made a git-p4 clone with it and periodically synchronized the changes with P4, it works very well. One day I want to add another P4 path to the Git repository that I cloned, it gets confused. Even I have added a new path to my client specification used by git-p4 clone, but it does not add a new path to the Git repository. Can this be done?

Best wishes,

+2
source share
1 answer

I realized that I can use "git -p4 sync" to add a new path by adding a new path to the client specification. Thus, the solution should be:

  • Add a new path to the cient view and make sure p4 can synchronize the path;
  • Run "git -p4 sync" to add a new path.

Hope this helps.

0
source

All Articles