You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd really like to be able to do either of the following, assuming the current directory is a git repo; git.repo().heads.master.log(DIR) git.repo().git('log -- DIR')
Using git log --pretty=format:%H -- master results in the following output:
Thanks for the fast response, that did the trick! I had been trying to do it git('log --flag -- dir') which obviously does not work. I'm not sure how i managed to think that the "only takes one argument" error applied to git.log() as well.
I'd really like to be able to do either of the following, assuming the current directory is a git repo;
git.repo().heads.master.log(DIR)
git.repo().git('log -- DIR')
Using
git log --pretty=format:%H -- master
results in the following output:In the same directory from interactive python3 prompt using
git.Repo().git.log('--pretty=format:%h -- master')
does not understand-- master
;The text was updated successfully, but these errors were encountered: