feature request - add --only-author option to git push
- From
- Toni Brkic <brkict@gmail.com>
- Date
- Aug 27, 2020, 07:47 UTC
- Message-ID
- <CAF2SHyBYZ7=vcL4sPdP=T9zRCBrwW_z0-o1v9=gC4=oPqv4oXQ@mail.gmail.com>
Sorry if this mail list is not used for feature requests/discussions. This was the best list I found. Let me know if should post it somewhere else.
I would like to be able to configure git so that when doing git push git checks that I am author of all patches that are being pushed. If I am not authour it should not do push.
The reason for this is that a common mistake that happens when working with gerrit (at least for me)
Person A has uploaded patch1 I need patch1 to continue development and cherry pick it to my repo. Person A uploads new version of patch1 I have finished my patch and push to gerrit. What then happens is that I have an older version of patch1 and thus overwrite the new version by Person A
Maybe there is some way already to do this, but I could not find anything when searching.
BR,
Toni