is it possible to push a formatted patch directly to remote server without even cloning the repo?
Something like:
git push http://git:mr/android.git master 0001-patch.patch
is it possible to push a formatted patch directly to remote server without even cloning the repo?
Something like:
git push http://git:mr/android.git master 0001-patch.patch
You cannot apply a patch on a remote natively, through some kind of specif "push".
You would need to implement a listener which would detect a patch and apply it (like applying patches from emails, mentioned in "Git Tip of the Week: Patches by Email").
But more generally, this isn't trivial to implement because of potential conflicts which might have to be resolved when applying the patch: this is much easier to do in a local cloned repo.