I'm using a GIT-repository where I do not have write-privileges on the server. All my changes are committed to the local repository but not pushed to the server (for obvious reasons).
So how can I create a diff (patch) file now which contains the difference between my local repository and the remote one?
Thanks!
Assuming you are in the master
branch:
$ git diff --no-prefix origin/master > save.patch