Is it possible to clone git-p4 repo?

Equidamoid

Is it possible to git clone existing git p4 repository so it will be possible to use git p4 for the new repository?

Here is the usecase: I have desktop PC with full repository cloned from perforce (git p4 clone <somepath>@all) an want to clone it to laptop without touching p4 server (link to it is wery slow and laggy) an be able to commit changes to perforce. Ideally it would be great to use git clone --depth and sparse clone to reduce laptop disk usage.

mipadi

No. git p4 works by syncing up with a Perforce checkout (it's a wrapper around some p4 commands), so you also need to have the Perforce checkout accessible.

You could clone the Git repo to your laptop, do your work, push your changes to that Git repo, and run git p4 from there when you're ready to submit your changes.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

git p4 clone has no files

From Dev

git p4 clone has no files

From Dev

git p4 clone not getting all files for @rev,#head

From Dev

Unable to execute - Git P4 clone broken

From Dev

git p4 clone not getting all files for @rev,#head

From Dev

Git clone remote repo into another remote repo

From Java

Clone private git repo with dockerfile

From Dev

Can not clone git repo to server

From Dev

Clone a git repo on a Linux box

From Dev

clone git repo at specfic commit

From Dev

Is it possible to get commit logs/messages of a remote git repo without git clone

From Dev

Clone only the .git directory of a git repo

From Dev

Git Clone Repo Has No .git File

From Dev

Git Svn Clone initializes repo, but git repo is empty

From Dev

Difference of repo sync repo init toward git clone and git pull

From Dev

clone from a git repo and commit to a new repository

From Dev

sbt git clone hangs for private repo

From Dev

Clone a Git repo into the current folder (not a new subfolder)

From Dev

How to clone git repo from Windows to Linux?

From Dev

Jenkins Slave VM Can not Clone Git Repo

From Dev

Unable to clone git repo using ansible

From Dev

Can a Git repo's upstream be set to a local clone of the same repo?

From Dev

Is a Git clone without content possible?

From Dev

Can't clone repo using git clone git://... - ok with git clone http://

From Dev

Can't clone repo using git clone git://... - ok with git clone http://

From Dev

Clone a git repo without history and have the original repo be able to push changes to the shallow repo

From Dev

Clone a git repo without history and have the original repo be able to push changes to the shallow repo

From Dev

Perforce p4 interchanges equivalent in git

From Dev

Equivalent command for P4 shelve in GIT

Related Related

  1. 1

    git p4 clone has no files

  2. 2

    git p4 clone has no files

  3. 3

    git p4 clone not getting all files for @rev,#head

  4. 4

    Unable to execute - Git P4 clone broken

  5. 5

    git p4 clone not getting all files for @rev,#head

  6. 6

    Git clone remote repo into another remote repo

  7. 7

    Clone private git repo with dockerfile

  8. 8

    Can not clone git repo to server

  9. 9

    Clone a git repo on a Linux box

  10. 10

    clone git repo at specfic commit

  11. 11

    Is it possible to get commit logs/messages of a remote git repo without git clone

  12. 12

    Clone only the .git directory of a git repo

  13. 13

    Git Clone Repo Has No .git File

  14. 14

    Git Svn Clone initializes repo, but git repo is empty

  15. 15

    Difference of repo sync repo init toward git clone and git pull

  16. 16

    clone from a git repo and commit to a new repository

  17. 17

    sbt git clone hangs for private repo

  18. 18

    Clone a Git repo into the current folder (not a new subfolder)

  19. 19

    How to clone git repo from Windows to Linux?

  20. 20

    Jenkins Slave VM Can not Clone Git Repo

  21. 21

    Unable to clone git repo using ansible

  22. 22

    Can a Git repo's upstream be set to a local clone of the same repo?

  23. 23

    Is a Git clone without content possible?

  24. 24

    Can't clone repo using git clone git://... - ok with git clone http://

  25. 25

    Can't clone repo using git clone git://... - ok with git clone http://

  26. 26

    Clone a git repo without history and have the original repo be able to push changes to the shallow repo

  27. 27

    Clone a git repo without history and have the original repo be able to push changes to the shallow repo

  28. 28

    Perforce p4 interchanges equivalent in git

  29. 29

    Equivalent command for P4 shelve in GIT

HotTag

Archive