We say that we have two git control directories, central and central_clone, where the center is a bare regressory and the middleclone The clone is the bare store on the general basis, if you edit a file twice on the central_clone and register those updates through two separate commands (name HEAD and HEAD ^^), when you push your changes If you do, then bare repository GI Mr. HEAD and HEAD ^ Central Bear Directory both will push.
Is there a way from the perspective of the central directory, to know what has been changed with the Las Commons on the central repo for the recently committed one?
I need this script which needs to be separated, which enters the central directory, I normally used to git diff HEAD HEAD ^, but if git pushes all commands, then I The real difference of this thing will not be seen how the first was a push in the first ...
(The number of previous pushing could be two more ...)
By setting I think you should be able to push it to reflog. (But I have not tried). core.logAllRefUpdates to
true Can turn refllog on bare repository
No comments:
Post a Comment