Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Twice changes lost after committing and merging the branch

I'm using Visual Studio 2017 v13.3.0 (source control is disabled) and SourceTree v2.7.3.  Twice now, I've made changes, committed them, pushed them -- and then lost the changes in the process.  NOTE: A fetch does not fix this after it happens.  Nor does it happen all the time, only twice so far since the SourceTree update to 2.7.3.

The behavior is this:

  1. In Visual Studio, make changes to the source.
  2. Note that SourceTree indicates changes to the source.
  3. Commit and push.
  4. Go back to Visual Studio, and it complains about external changes to the source and wants to reload the solution.  NOTE: This has not previously been the case and it doesn't happen when everything "goes well".
  5. After reloading the solution, all the changes are gone and the source is back to where it was before the commit.  However, SourceTree registers nothing different about the source; no indication of changes.  So, even though the code was changed, committed, and pushed, and now it is back to what it was, SourceTree doesn't recognize the change.
  6. In Visual Studio, make the changes to the source again.
  7. Note that SourceTree indicates changes to the source.  In fact, you can see it recognizes the exact same changes as before.


I'm not sure which is doing what here but I would expect SourceTree to recognize there have been changes if Visual Studio reloads the solution and everything is back to what it was.


NOTE: Since someone may ask, "Why use SourceTree when you have source control in Visual Studio?", it is because I work in many different tools and languages, even within the same project, and want to use a single tool to manage my source control.



Log in or Sign up to comment
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,666 views 128 27
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you