Git push options
`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.
Comments: 3
-
30 Sep, '22
Marco F.I'd like to see this option too: when pushing to gitlab the -o merge_request.create -o merge_request.remove_source_branch would speed up our flow a ton
-
29 Nov, '22
Aurelien RBWe would also like to have this feature for the exact same workflow (skip CI builds on GitLab)
-
11 May, '23
xLexipWould love to see this as well. Or at least "skip ci" or an option to configure this manually.