FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add support for git describe · Issue #136 · gitpython-developers/GitPython · GitHub

Repository navigation

Add support for git describe #136

Closed
Closed

Description

Please consider adding support git describe command and its options.

Activity

  1. smithsp commented on Feb 10, 2014

    Consider the following:

    import git
    r = git.repo.Repo('./')
    r.git.describe()

    Is this not sufficient?

  2. jon-armstrong-zz commented on Aug 7, 2014

    Author

    That works, thanks. I didn't find it documented anywhere, so I assumed it wasn't supported.

  3. nuzz commented on Mar 25, 2017

    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.

  4. corydodt commented on Mar 26, 2017

    Was this feature removed? The sample code no longer works.

  5. ogajduse commented on Mar 26, 2017

    @corydodt Works for me. Out from Python3 console:
    import git
    r = git.repo.Repo("./..")
    r.git.describe()
    '0.0.3-8-g8c66b5c'

  6. ankostis commented on Mar 27, 2017

    Contributor

    Maybe this part of the documents help: Using git directly.

  7. corydodt commented on Mar 27, 2017

    My bad! I was omitting the .git. part of the API.

  8. added a commit that references this issue on Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL