I didn't have my .gitignore files setup before I committed my project. Now all my .svn/* files are being committed. How can I expunge these files from my repo and tell git to stop tracking them (using SourceTree)? Thanks!
Doing as @sreekumar menon mentioned, the .svn is still part of your history - but will not be part of the future history.
If you want to remove your svn-folder permanently from your complete history, have a look for example at this:
Thanks for the link- this worked for me - git rm -r --cached some-directory git commit -m 'Remove the now ignored directory "some-directory"' git push origin master also add it to .gitignore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Johannes link will remove it from entire history, if you don't care about appearing in history the above should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In file status view, select all files, and you may right click on the file/folder and select stop tracking within sourcetree and add it to .gitgnore.
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.