4 ms·
this definitely shouldn't happen if shared branches are properly protected against non fastforward pushes
by aulin 6y ago
this definitely shouldn't happen if shared branches are properly protected against non fastforward pushes
- mannykannot 6y ago...and if you didn't know that, you shouldn't be using git! To be fair, one should always look up options you are unfamiliar with before using - and Stack Exchange is not an authoritative source. --mirror ...Newly created local refs will be pushed to the remote end, locally updated refs will be force updated on the remote end, and deleted refs will be removed from the remote end... [my emphasis.] On the other hand, if you are on a system where the behavior can be fundamentally altered by multiple configuration options, this will not necessarily help you much. ...This is the default if the configuration option remote.<remote>.mirror is set.
- Qwertious 6y ago>To be fair, one should always look up options you are unfamiliar with before using - and Stack Exchange is not an authoritative source https://xkcd.com/293/ https://xkcd.com/293/