Delete all remote files which does not exist locally with GIT
I have lots of files on bitbucket which I do not have/anymore locally on my pc. I would like to delete them all in the next git push. What else git command do I have to execute to delete all remote files which does not locally exist?
Solution
Checkout what you have on bitbucket to your local machine.