Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to solve the Unstaged files seen as Modified

I have a list of Unstaged files, with the "Modified" icon on them, how do I solve them? Is it ok to runa "Stage all"? And why do I see those files, since they are not mines?

 

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg Community Leader Oct 07, 2020

Hi @Dan Raihert,

Welcome to Atlassian Community!

Any file that is in the repository and is modified, either manually or by an editor (Visual Studio for example) will show up as modified in Sourcetree. You can use stage all if all changes should be part of your next commit.

You mentioned that the modified files are not yours, which leads me to guess that you did a merge or pull, and those files are changed by someone else on your team. If that is the case you have to stage those files too in order to complete the merge. If the files were changed by your editor, you should consider investigating if those files should be part of the repository or not. If the answer is no, then you should delete them, and then add them to your .gitignore file, that way the next time the editor changes they will not be shown as modified in Sourcetree.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

5,279 views 0 12
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