What I want is to get a list of files that where deleted since the last commit to git.
Currently I'm getting a list of all the changed files since the last commit which I then use to upload those files to my server through jenkins. However I couldn't find anything on getting a list of deleted files since the last commit.
So what I'm trying to achieve is getting a list of the removed files and remove these from the server through jenkins.
I hope it's clear what I'm trying to achieve