top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How git p4 toolset works?

+1 vote
351 views

Is there any detailed document about how git p4 toolset works? I am curious how it tracks depot paths, bidirectional changes etc. I am totally confused about it now.

The problem I face is after creating git repository with "git p4 clone," I added several files into the repository. The folder of the files in Git has no corresponding Depot path in P4 client view configuration, and everytime I tried to use "git p4 submit" to sync changes back to P4, I got errors saying "error: filexxx: already exists in working directory". Anyone can guide me how to fix this issue?

posted Dec 9, 2013 by Kumar Mitrasen

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

I am trying to clone perforce branch from git to my local drive, but it's skipping too many files and change list while fetching it from perforce.

It'll be very helpful if anyone can suggest me about how to git rid with this issue.

+2 votes

I'm a big Git fan and had the chance to "convert" some colleagues to the benefit of Git over Subversion, leading the conversion process and coaching them for their day-to-day use.
I'm now working in a place where the VCS is Perforce (sigh!). I must admit the cultural gap is non-negligible.
That being said, I did a quick search and found that there is git-p4 to use Git as a "client" to Perforce. Before getting that to work on my workstation, I'd like to know if anybody ever used that tool? If so, what kind of experience have you had with it? Are there any pitfalls, etc...
I'll probably get on setting that toolset in the next few days (next week) and will update this topic with any relevant info.

0 votes

I'm trying to integrate some type of source code versioning. I come from a VSS background, where our workstations would connect to a server and 'check out' a solution/project into my workstation. Essentially, 'check out' the code into my PC and then ('check in') back to the server.

Anyways, I'm trying to understand how Git works. I assumed that I would install Git in the server (where all source code will reside), and then I'd install an add-on to VS2010 in my workstation to connect to the server. From VS2010 I would add my solution to the server, and do checkins/checkouts.
So, I installed this version of Git in the server [1], and I can see a box that asks me to create a new repository. What I don't seem to understand is how I can connect locally (from my VS2010) to that server. In my workstation (VS2010), I installed Git Source Control Provider, but I don't see any option that lets me connect to the server.

...