Searching for newly added files in Sourcetree

I am new to Git to please excuse me if it's not capable of this.

I'm using SourceTree to version control my website. So far it's great, my only issue is that if i add a new file to my website, SourceTree doesn't automatically detect it and add it to the working copy. How can I scan the working folder for newly added files? Or do I have to add them each individually when I create them?

Thanks for the help

1 answer

1 accepted

New files will show up by default in the 'Show Pending' filter (the drop-down at the top of the file status view), they will show up as 'Unknown' until you decide to add them. The reason this isn't automatic in git is that you may not want to track every file in your repo folder, they might be temporary or derivative files that you want to ignore instead.

You can see them most easily with the Flat View and Show Pending. Also, if you don't want to add them all manually, you can use the 'Add/Remove' button on the toolbar which will add all new files (and also mark missing files as removed).

That's exactly what I need. Thanks for that.

Thanks - this response cleared up my issue.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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