12 ms·
It would be handy if there was a option to git-rebase that would print a warning if you were about to rebase a commit by someone other than $(git config user.em
by dfc 14y ago
It would be handy if there was a option to git-rebase that would print a warning if you were about to rebase a commit by someone other than $(git config user.email)
- saraid216 14y agoI'd suggest writing a git hook on pre-rebase.
- uxp 14y agoOne could also write a pre-receive hook on their git server that denies force pushing, so it becomes impossible to overwrite published history. Combined with a gatekeeper approach of denying pushes to the master branch to all developers except an assigned reviewer, this helps foster the idea that unstable code should always remain local and not be published.