In git command line, we can use git commit -a.
How can I do that using dulwich?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When considering the various tests for a commit, like those in
test_repository.py, it doesn’t seem to be possible in one line:You need to find modified or deleted files first, and stage them, before calling the commit.
The other alternative would be to use git-python, which is a wrapper to git, but it doesn’t offer either that feature out of the box.