From: FusionX86 <fusionx86@gmail.com>
To: Git Users <git@vger.kernel.org>
Subject: git p4 clone - HEAD + partial history
Date: Tue, 12 May 2015 13:31:19 -0600 [thread overview]
Message-ID: <CAFcBi8_sARUkD2iDeto2CXr1vOm473aOSbj9dCiERTj51ot59A@mail.gmail.com> (raw)
Hello,
I'm migrating my company from Perforce to Git. There is history in
Perforce that goes back to 2006 and I'd like to migrate it with some,
but not all of the history. I'm not having luck so far.
>From what I see, a simple git p4 clone grabs HEAD only. Using @all
grabs all history and is way too much to migrate. I have tried using
//depot/folder@2015/01/01,@all when cloning, but it doesn't grab the
current stuff in HEAD.
Is it possible to grab what is currently in HEAD and the last few
months of history only?
next reply other threads:[~2015-05-12 19:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 19:31 FusionX86 [this message]
2015-05-12 19:55 ` git p4 clone - HEAD + partial history Luke Diamand
2015-05-12 20:23 ` FusionX86
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFcBi8_sARUkD2iDeto2CXr1vOm473aOSbj9dCiERTj51ot59A@mail.gmail.com \
--to=fusionx86@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).