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

Re: git to p4 conversion

From
Vitor Antunes <vitor.hda@gmail.com>
Date
Feb 4, 2011, 00:03 UTC
Message-ID
<loom.20110204T004658-497@post.gmane.org>
In-Reply-To
<AANLkTikW_sU8oCmU9wN5q1OPPJrQbS2YZAvS0C_nBQbD@mail.gmail.com>
Hi Endre,
Endre Czirbesz <endre <at> czirbesz.hu> writes:
Show 12 quoted lines
> 
> Hello Ian,
> 
> Thanks for your reply.
> 
> 2011/2/3 Ian Wienand <ianw <at> vmware.com>:
> > What exactly did you try?
> I am not at my work computer now, but as I remember:
> 
> cd workdir
> git-p4 clone //depot/projectdir/...@all .
> git clone myprojectrepo .

I think what you should do is add the git repository as a remote with something like:

git remote add remotename myprojectrepo git pull remotename master git p4 submit

Hope this helps, Vitor

Previous: Endre CzirbeszNext: Tor Arvid Lund
Message 4 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.