git-p4 Questions

5

I did: git p4 clone //depot/path/to/project/trunk/@all project to create the master branch of project. Now I want to clone //depot/path/to/project/release to the release branch of project. How i...
Immanent asked 8/3, 2013 at 23:55

3

After doing a git-p4 clone --use-clientspec, I would like to add an extra entry to the clientspec, and import the current state of the added entry to my Git repository. After I extend the clientsp...
Kym asked 27/1, 2014 at 9:4

3

Lately I've been running into issues using git-p4. My current workflow is: git checkout -b some_feature # do some work and commit to some_feature branch git checkout master git merge --no-ff some...
Lightfoot asked 20/3, 2013 at 13:50

4

Solved

I have the task of migrating my team & source from git to Perforce, and I'm looking for ideas on how to move the git history into p4. I would be happy moving master branch only. However, even ...
Tena asked 15/10, 2010 at 21:30

2

Solved

Latest git-p4 script (https://github.com/ermshiperete/git-p4) has a "shelve" but no "unshelve" command. How do I unshelve changes using it?
Talie asked 15/11, 2012 at 15:32

5

Solved

If you use perforce remotely and desire to have the awesome speed of git for tracking diffs, here is the solution: http://kb.perforce.com/article/1417/git-p4 However, I've noticed the following: F...
Fujimoto asked 7/1, 2012 at 23:22

3

Solved

I tried running git p4 submit on a repo that I've been running as an interim bridge between git and perforce. Multiple people are using the repo as a remote and its being periodically submitted bac...
Ajar asked 11/4, 2013 at 16:3

5

Solved

After git installation - I tried to clone an existing p4 branch, but it failed with the following information: c:\P4_GIT\DT>git p4 clone //depot/CTAT/Windows/OneP/ fatal: 'p4' appears to be a g...
Amphitryon asked 17/12, 2015 at 12:56

2

I've got a git repository that I'd like to mirror to a Perforce repository. I've downloaded the git-p4 script (the more recent version that doesn't give deprecation warnings), and have been working...
Subphylum asked 22/4, 2010 at 17:2

5

Solved

I'm runnining on Windows, with the windows p4 client, and git installed via Cygwin. The p4 client advertises how its syntax is regular across platforms and all that, so that should be hunky-dory. ...
Ogilvie asked 29/10, 2010 at 23:52

3

Solved

I want to migrate source code tree from perforce to git. The source code contains several dev branches scattered across perforce depot, not necessarily in the same directory. for example the struct...
Superaltar asked 3/6, 2016 at 6:30

3

Solved

As I've mentioned in a previous question, I'm looking into migrating our source control from Perforce to git. Looking around, I've found git-p4 (you have to dig a bit more, since it's not even at t...
Barragan asked 24/4, 2009 at 17:46

3

Solved

I am trying to use git p4 on my Linux computer. But there seems to be a problem with git-p4 for some reason. When I run the git p4 command I get: fatal: git was built without support for git-p4 (N...
Siqueiros asked 8/7, 2014 at 15:50

1

What is the proper method to do a selective import of a large Perforce repo? The git-p4 docs mention that you can do a -//depot/main/ignore switch to filter directories. Would this be equivalent t...
Sifuentes asked 9/8, 2012 at 2:1

5

Where I work uses a Perforce environment but we are not allowed to check in until our features are completed and ready to be tested. I need to be able to do local commits because at times I have ha...
Gutshall asked 25/2, 2011 at 2:33

1

Solved

I'm migrating from Perforce to git, and in the process I'm trying to get the file structure right. The current perforce structure is something like this: //depot /android /main /other_branches...
Clausewitz asked 29/1, 2014 at 1:54

2

Solved

When I do the following: $ git-p4 submit I wind up with the following error trace: error: patch failed: foo/bar/blah.h:1 error: foo/bar/blah.h: patch does not apply Unfortunately applying the c...
Mussel asked 28/1, 2012 at 4:17

1

I have browsed through the web, but I cannot find an answer. What I am trying to do is the following: I have a git repository which has been used for over 1 year with lots of commits Due to produ...
Dharna asked 7/11, 2012 at 13:1

2

My p4 repository has a structure similar to: //depot/project/branch1 //depot/project/branch2 //depot/project/branch3 ... etc However, when I use git-p4 to clone "project", all 3 branches are not...
Donough asked 29/4, 2010 at 14:11

1

I want to use git to do some temporary management of a specific file. There are many files in that directory structure that I don't want (and git would not handle well), but I need to use its patch...
Resolute asked 6/7, 2012 at 19:47

3

Solved

I have a repo where I made a change that is causing merge hell and I'd like to pretend it never existed. Long, complicated story involving splicing a pre-existing repo on top of one that is updated...
Gigantean asked 31/3, 2012 at 0:27

1

Solved

I'm trying to import a project from my company's Perforce depot into a git repository. I've been successful getting a single branch into a single git repo, but what I'd like to do is to pull in the...
Itol asked 19/5, 2011 at 19:4

3

So, I can import from p4 using git-p4 without any problem. Everything seems to work, but my PNG files (and perhaps others) are getting corrupted. I've read about gitattributes and the line ending ...
Halvah asked 7/12, 2009 at 21:17

2

Solved

I am trying to use p4merge with git but I am getting: Error starting p4merge: "path/myFile" is (or points to) an invalid file (this lists the BASE, LOCAL, REMOTE, and standard version of the file...
Figurehead asked 14/5, 2009 at 22:48
1

© 2022 - 2025 — McMap. All rights reserved.