-
-
Notifications
You must be signed in to change notification settings - Fork 933
Add support for git describe #136
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
Consider the following: import git
r = git.repo.Repo('./')
r.git.describe() Is this not sufficient? |
That works, thanks. I didn't find it documented anywhere, so I assumed it wasn't supported. |
This should probably be somewhere in the documentation. I couldn't find this in the docs so I googled and it lead me here to this closed issue. |
Was this feature removed? The sample code no longer works. |
@corydodt Works for me. Out from Python3 console: |
Maybe this part of the documents help: Using git directly. |
My bad! I was omitting the |
Please consider adding support
git describe
command and its options.The text was updated successfully, but these errors were encountered: