Git push options

30 votes

`git push -o "foobar"` can be used to send strings to pre-receive and post-receive hooks.
https://git-scm.com/docs/git-push#Documentation/git-push.txt--oltoptiongt

With GitLab this can be used to skip CI and/or create merge requests:
https://docs.gitlab.com/ee/user/project/push_options.html#push-options-for-gitlab-cicd

Other Git servers may use push options for other things.

As a user, I would like to create arbitrary sets of push options that I can then choose to send when I click the Push button so that I can remain in the GitKraken UI instead of having to use the Git CLI.

Please see attached mockup where 'Skip CI' and 'My Options #2' are two examples of presets created by the user. They would be created and edited in a new tab of the Preferences screen.

Under consideration Suggested by: Hamish Robertson Upvoted: 29 Mar Comments: 3

Comments: 3