I've done some commits to my repository, but now I've deleted some files that I didn't need, but after other commits, they haven't been deleted in the repo.
For example:
In my initial commit I inserted files main.py
, class1.py
and class2.py
In my second commit I added the file class3.py
and deleted class1.py
, but that file is still in the repo.
Is there any way to just synchronize the entire repo with a command or something without having to delete files manually?