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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,795 views 26 12
Join discussion

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