Is there a way to push the reflog to a remote? This seems like it would be an incredibly useful thing to do, but I do not know of a way to do it. I'm envisioning something like git push --include-reflogs
In the end, I would want the remote to have a verbatim copy of the reflogs at the time of the push.
I tried using --mirror
, but 1) I don't want to delete any branches from this particular remote except manually, 2) it still didn't copy the reflogs over to the remote.
Does anyone know if/how this can be done?
git reflog
shows the changes of the tips of branches. Since Git is a DVCS, those changes will be different in different repositories. I'm not sure how you envision those being pushed. Would they overwrite the remote reflogs? – Brentonbrentt