From: Ian Wienand Date: Thu, 03 Feb 2011 18:23:26 GMT Subject: Re: git to p4 conversion Message-ID: <4D4AF29E.7070509@vmware.com> In-Reply-To: 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