Skywolf
Skywolf

Reputation: 703

git p4 clone/sync: how to add new P4 path

I created a P4 client view spec and made a git-p4 clone with it, and periodically sync changes from P4, it works very well. One day I want to add another P4 path to the Git repository I cloned, it stucks. Even I added the new path to my client view spec used by git-p4 clone, it does not bring the new path to Git repository. Is it possible to do so?

Best Regards,

Upvotes: 3

Views: 649

Answers (1)

Skywolf
Skywolf

Reputation: 703

I realized I can use "git-p4 sync" to add new path besides adding the new path to client spec. So the solution should be:

  1. Add new path to cient view spec and ensure p4 can sync the path;
  2. Run "git-p4 sync " to add the new path.

Hope it helps.

Upvotes: 1

Related Questions