git p4 clone - HEAD + partial history
- From
FusionX86 <fusionx86@gmail.com>
- Date
- May 12, 2015, 19:31 UTC
- Message-ID
- <CAFcBi8_sARUkD2iDeto2CXr1vOm473aOSbj9dCiERTj51ot59A@mail.gmail.com>
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?