Skip to content

To exclude files in repo.git.add() #1507

Answered by Byron
amrs-saama asked this question in Q&A
Discussion options

You must be logged in to vote

To answer the question, there should be clarity about what was tried exactly (with python code), along with the result of that code, and the expected result.

Generally with repo.git.add(…) all possible invocation of the sub-command are possible, if necessary by passing args directly with repo.git.add('--arg1', '--arg2', 'positional1', 'positional2'). More about direct git invocations can be found in the docs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@amrs-saama
Comment options

@Byron
Comment options

@amrs-saama
Comment options

Answer selected by amrs-saama
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