I have a laptop and a desktop, for which I'm trying to learn to use git to manage my work against a perforce repository. I'm using git-p4 successfully on the desktop, and can use it successfully on the laptop as well, in isolation. However, one of the things I'd like to be able to do is to "pull" or "push" changes from the laptop to desktop or vice versa without first checking them in to the p4 branch being synced with git.
So, here's what I did to setup the two repos: 1) setup a repo on my desktop using git-p4 clone. Do some work on it, make several commits to git, and several submits to git-p4. All was working as expected. 2) later, set up a repo on my laptop, in prep for doing work on both machines. Similarly, use git-p4 to do a clone of the now current p4 repo (now has several revisions checked in past where I did the git-p4 in (1).
Now, what I was hoping to do: 1) do some work on the desktop. Commit the work to git, but not p4. 2) go to the laptop, and do a git pull ... from the desktop repo. 3) continue my work on the laptop, commiting to git periodically. 4) (optional) commit to p4 from the laptop 5) (optional) push to the desktop (or pull from the laptop to the desktop) and continue work on the desktop, etc.
Basically, I'd like to be able to push/pull stuff back & forth between the laptop and desktop without actually checking in to p4.
Does this sound like something that should be possible? If so, are there steps that I'm doing wrong above?
Here's what keeps happening: when I try to do the "pull" in (2) above, I get error messages saying that there are conflicts - and these conflicts are related to changes that were made between the first checkouts of p4's branch, and the time the second git-p4 repo was created. In other words, they seem to be replay's of changes that should have already been in the code that the second repo contained, but for some reason, they weren't.
I'm pretty new to git, so I hope my question isn't crazy stupid or impossible to understand. Thanks in advance for any help you can give.