if i remove untracked files then what happens ? is it safe to remove untracked files from my branch.
After commiting my changes , i want to create new branch but it is not allowing me to do.
some times Source tree itself is adding changes so those files i want to delete.
finally i removed and working fine...
thank you all for answers.......
The only files SourceTree adds should be Git configuration files (.gitignore, for example). You can remove that safely, but Git will no longer ignore whatever files you wanted to ignore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Removing untracked files is deleting them, permanently. They do NOT get sent to trash/recycle bin, and (because they are untracked) sourcetree can not retrieve them by checking out the original branch or an earlier version.
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.
It depends on what the files are and what you are trying to do. It depends on your definitions of "safe" and "fine". The shortest answer is this:
If you are 100% sure that you never ever ever want to have access to those untracked files, then you can remove them.
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.