Enhancement request: git-push: Allow (configurable) default push-option
- From
Marius Paliga <marius.paliga@gmail.com>
- Date
- Oct 3, 2017, 10:15 UTC
- Message-ID
- <CAK7vU=0ztEwMPsGO4Cd1A5JEnxmwkF57QPKjjvjD8rBUB79dRA@mail.gmail.com>
There is a need to pass predefined push-option during "git push" without need to specify it explicitly.
In another words we need to have a new "git config" variable to specify string that will be automatically passed as "--push-option" when pushing to remote.
Something like the following:
git config push.optionDefault AllowMultipleCommits
and then command git push would silently run git push --push-option "AllowMultipleCommits"