Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

push with options? #1565

Answered by Byron
jalanh11640 asked this question in Q&A
Discussion options

Can anyone point me to an example of how to push a branch to a remote and specify options? Here's a git command line example of what I would like to do via python.

git push -o ci.variable="CI_MODULE=myValue"

Thanks!

You must be logged in to vote

Passing arguments to git push can be done directly as described here - similar mechanisms also work with the more idiomatic way of handling remotes.

Replies: 1 comment

Comment options

Passing arguments to git push can be done directly as described here - similar mechanisms also work with the more idiomatic way of handling remotes.

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /