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

Prepending options to commands when using git directly #1520

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

Is it possible to prepend options to commands when using git directly? I want to prepend the "-c" option to the repo.git.commit() command as in https://stackoverflow.com/a/19841177 but cannot find a solution so far.

You must be logged in to vote

I don't think this is possible yet. As alternative, it should be possible to pass any amount of configuration flags via environment variables.

Replies: 1 comment

Comment options

I don't think this is possible yet. As alternative, it should be possible to pass any amount of configuration flags via environment variables.

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
2 participants
Converted from issue

This discussion was converted from issue #1519 on December 21, 2022 11:43.

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