version control - Perforce to git migration -


i need migrate repos perforce git history. tried searching through web, didn't find clear documentation mentioning each , every step in detail. saw utility called git-p4 didn't find clear documentation related utility too.

can explain me on how can perform or provide me documentation helpful.

regards

there's official documentation available on git-p4. addresses specific scenario describe:

to reproduce entire p4 history in git, use @all modifier on depot path:

$ git p4 clone //depot/path/project@all

note if have labels in perforce depot you'll need add --import-labels option them. if have branches in perforce, you'll want @ --detect-branches option well.

note after running command you'll have p4 remote in git repo. that's people plan submit git p4, since mentioned migrating can safely delete it.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -