what's the difference between remove and delete in sourcetree?


5 answers

I can't see that view in Source Tree for Mac, but I guess "Delete" removes the selected repositories while "Remove" deletes the selected files (at least that's what Remove does in the Mac application).

This is correct.

do you mean remove and reset? if not that, where can I find the delete option?

The delete removes the highlighted respository.

Right. Delete removes the local repository. Then what does remove do?

removes files/directories from the repository completely

Remove removes the file from repository - but not completly. (as @Norman Abramovitz wrote). It removes the file from the sandbox and mark it as deleted for the repository. You have to push the deletion to the repository - from this point of time the deleted file is not part of the repository anymore.Until this point of time the file is still part of the repository. (Remove is a git operation on the repository)


Delete removes the repository from the bookmark list - (Delete is a Sourcetree operation to organize the repositories). You can either simple delete the repository from the bookmark - or you can additionaly delete the complete repository folder from your harddisk as well ...)

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,227 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