-
-
Notifications
You must be signed in to change notification settings - Fork 933
git commit fails with hidden files #1757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think I found the issue...
|
Yes, or the option and its operand can be specified as a keyword argument, by either: repo.git.commit(message="testing hidden file commit") repo.git.commit(m='testing hidden file commit') This is because calling git commit 'testing hidden file commit' without Omitting However, this shouldn't differ based on whether any files are hidden, nor otherwise based on their names. So if it does--that is, if the steps you had originally described had worked when the staged file's name did not start with In addition, if |
Closing, as the solution was found and further clarified in the comment above. Thanks everyone! |
It seems that repo.git.commit("testing hidden file commit") fails with
stderr: 'error: pathspec 'testing hidden file commit' did not match any file(s) known to git'
even though the file is properly added to be committed.Results in error
It seems like
repo.git.add()
doesn't work?The text was updated successfully, but these errors were encountered: