The main issue is applying the patch requires git clone and that would fail on local (not pushed) commits.
What's the use case itself ?
(btw, if you copy the uncommitted changed into a file and git apply it, it will work)
The use case was that server with repo wasn't responding for a while and I was thinking how to solve that. Thanks for the answer!
Commits, that are not pushed to the repo
Hi RoundMosquito25
What do you mean by "local commits" ?