During team development, someone used the command git reset to roll back the command. Without telling other developers... How can other developers know that someone used git reset at this time?
git reflog displays the commits of the entire local repository.
So this command does not work in other developers’ local repositories....
PHP中文网2017-05-02 09:48:20
给他配备一个高音喇叭
If you follow the relatively complete gitflow, there should not and will not be a situation where you need to inform others about reset.
我想大声告诉你2017-05-02 09:48:20
Put a pre-push hook on the git server, it will buzz when it is not fast-forward, and send an email to the entire group
Or disable force push on the server