I am working on a git repository using sourcetree. I made some significant structural changes to my project including renaming files and folders. Is there any way to indicate that a new file path is replacing the old file path so as to be able to track internal changes that were made to the files?
Hello! Git should be able to automatically track renames without needing to do anything (remember: git tracks content, not files). When tracking changes to a file in Sourcetree (right clicking on a file and selecting 'Log selected...'), make sure you check the "Follow renamed files" checkbox which should give you the correct history.
Thank you for the help!
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.