Git commits from others lost and showing in my instace

I am fed up with the way git works. I am not able to figure out how it works. I am using tortoisegit. I have pulled my instance and resolved the files which were conflicted.
Then git somehow locked and I had to solve that. Then I committed the resolved files.
Then I pushed these changes.
Now what happens is, the revisions that others committed is lost and it is showing only for me. All these files are now showing for me under "commit". What should I do now. Can i commit those files so that the changes that lost will be solved? how to know if there is any issues with my brach? Pls help me with this. I need solution very badly.

1 answer

1 accepted

1 vote
Accepted answer

You surely read the Atlassian Tutorial for git? (I don't know how familiar you are with git, so I am maybe asking stupid questions)

  • Use the Commits-View on Bitbucket, maybe you can find a hint there. You should see a commit tree with different branches and merges.
  • I assume you use Windows? Are you able to run git on the cmd.exe?
  • What does "git status" tell you?
  • Did you fetch before pulling?
  • Did you add the resolved files to index to mark them as not conflicting anymore?

It could be several problems.

@thejas jayaram If this question is answered, please accept the answer. So others can profit from this question.

in tortoisegit we have ui. so i use ui rather than commands.

The git book (http://git-scm.com/book) is another very useful resource. Sure, both focus on using commands, but besides that they explain "how it works", so you know what to expect when you "pull", "push", "merge", etc. These terms don't mean the same thing as they did for CVS/SVN.

A lot of folks find that the UI over complicates things. Try it out in the command line, you may be surprised by how easy it can be that way.

ok i will try doing command line. thanks everyone for the support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

207 views 3 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you