[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: git-p4 and git clone
From: Benjamin Meyer <ben () meyerhome ! net>
Date: 2010-03-23 0:15:19
Message-ID: 4880E32B-7880-40BF-8AFD-AC00DA457CEE () meyerhome ! net
[Download RAW message or body]
On Mar 22, 2010, at 7:16 PM, Thomas Kistler wrote:
> I'm probably missing something fairly fundamental but I'm running into problems \
> with cloning a git-p4 repository:
> First, I'm setting up a git-p4 master repository:
>
> $ cd tmp1
> $ git-p4 clone //foo/bar
>
> Then I'm cloning it through git:
>
> $ cd tmp2
> $ git clone tmp1/bar
>
> Finally, I'm trying to submit back to p4:
>
> $ git-p4 submit
>
> This now fails because the remotes/p4/master seems to get lost when doing the "git \
> clone". Is this supposed to work?
> -Thomas
There is a -import-local option you can use. Then the p4/master branch is local and \
when you do the second clone you will get the p4/master branch.
-Benjamin Meyer--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic