Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcetree is reverting files i want to delete

Willian Brasil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2025

I've checked gitignore, gitatributes and gitconfig and they are the same for multiple projects. In this project specifically if i delete a file, close unreal and open sourcetree it'll do the download lfs thing and revert the deleted file i want to commit.

Screenshot 2025-03-10 112828.png

1 answer

0 votes
Davide Bacchi March 14, 2025

That's not a revert, its sourcetree signaling you that the file has disappeared from the filesystem, you have to stage and commit that change to effectively delete that file also from being tracked by git.

Like that's the tool you need when you accidentally delete a file ad you want to restore that from the scm.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events