git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git to p4 conversion

From
IWIan Wienand <ianw@vmware.com>
Date
Feb 3, 2011, 18:23 UTC
Message-ID
<4D4AF29E.7070509@vmware.com>
In-Reply-To
<AANLkTi=0TSD6p7WtsVzx=pq8=GVu+jHUdxt1bnC++CT+@mail.gmail.com>
On 03/02/11 05:52, Endre Czirbesz wrote:
> I have some small (and flat) git repos, which I would like to migrate
> into a perforce depot keeping their histories. I tried git-p4 without
> any success, and I did not find a good manual for it.
What exactly did you try?

Theoretically, you could clone your new, empty, company-mandated p4 tree into a fresh git repo, get your existing code onto a new branch in this fresh repo (it's already in git, right, so that should be easy), then use 'git-p4 submit' to submit that branch back to p4.

> Is there any step-by-step tutorial out there? Is there any living human
> who ever made a successful conversion in this direction?
I'm not aware of an existing tutorial for this, sorry
-i
Previous: Endre CzirbeszNext: Endre Czirbesz
Message 2 of 14 in “git to p4 conversion”
  1. Endre CzirbeszFeb 3, 2011
  2. Ian WienandFeb 3, 2011
  3. Endre CzirbeszFeb 3, 2011
  4. Vitor AntunesFeb 4, 2011
  5. Tor Arvid LundFeb 4, 2011
  6. Endre CzirbeszFeb 4, 2011
  7. Tor Arvid LundFeb 4, 2011
  8. Endre CzirbeszFeb 4, 2011
  9. Endre CzirbeszFeb 4, 2011
  10. Tor Arvid LundFeb 5, 2011
  11. Vitor AntunesFeb 5, 2011
  12. Endre CzirbeszFeb 7, 2011
  13. Tor Arvid LundFeb 7, 2011
  14. Endre CzirbeszFeb 7, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.