Please refer to http://stackoverflow.com/questions/8773967/p4-git-any-great-explanations-for-how-it-works for details.
Basically the change tracking is done by commit message between working branch and perforce remote branch. Git-p4 leaves hints in message for tracking... On Monday, December 9, 2013 11:06:06 PM UTC+8, Li Dong wrote: > > Hi all, > > 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? Thanks in advance. > > Best Regards, > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.