Question

I'm using TortoiseGIT and Windows XP and we've set up a remote repository on a shared Network drive.

There's two of us in the team and my colleague can push/pull his own commits just fine (but can't see any of mine).If i clone the remote repository on to my machine, i can't see any of his commits, only the ones i've committed.

We're both working on the master branch.

I'm totally stumped as to what this problem is. Any ideas to point me in the right direction?

Was it helpful?

Solution

Use git fetch. Then take a look at all branches by adding the --all modifier to either gitk or git log. At this point you can merge or rebase your changes with what's on the server. Only after you do that will you be able to push your changes.

OTHER TIPS

If a fresh clone of the repository shows only your commits, that means that your colleague is not pushing his changes correctly. Maybe there is something in the way blocking the push, e.g. unresolved merges or conflicts.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top