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

4 votes
Accepted answer

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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,105 views 4 2
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