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