Using git -p4 to install the perforce git client clone

I have a perforce client that maps multiple end-to-end paths to my local client. These constant paths are for libraries and the main line of code.

How to use git -p4 to install a clone of the entire client in a separate directory?

From what I see, git -p4 can only clone specific depot paths. I would like to clone the entire client: suppose my perforce client is test_client. I'd like to do:

cd git_area
cp ../perforce/test_client/.perforce .
git-p4 clone 

or something like that that pulls all directories into this separate git directory.

0
source share
2 answers

I believe most git-p4 operations work on the same Perforce depot path. (I could be wrong, I often did not use it.)

, , , - , ? , :

//depot/my_proj/src/... //ws/src/...
//depot/libs/libA/... //ws/libs/libA/...

, , , git -p4 Perforce.

0

branch-spec perforce, perforce .

, , , .

AFAIK, git -p4 p4, .

0

All Articles