Enhancement request: git-push: Allow (configurable) default push-option
- Date: Tue, 3 Oct 2017 12:15:00 +0200
- From: Marius Paliga <marius.paliga@xxxxxxxxx>
- Subject: Enhancement request: git-push: Allow (configurable) default push-option
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
would silently run
git push --push-option "AllowMultipleCommits"