Or "ignore" the files you want to keep but don't want to see in Sourcetree, by name or by extension. You can do this via the contextual menu (right click in Windows? double click for Mac). Or, directly edit the file .gitignore. Here's what mine looks like. The * is a wildcard
*.rtf
*.dta
*.gph
*.ft
*.bbprojectd
*.sthlp
*.log
*.do
type1.ado
*.plist
.gitignore
I must say i don't understand the beginning of your question, but the answer to the end is that in order to clean your working folder, you need to press the big Discard button on the main screen (at the top, next to Commit and Checkout).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.