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...
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...
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 ...
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?
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...
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...
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...
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...
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.
...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
1
© 2022 - 2025 — McMap. All rights reserved.