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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,461,203
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events