Reacted by Andrew Smith, Alex Cantu, nuzz, Ameya Shenoy, Paulo Sigrist, Maxim Smirnov, MatthewFlamm, Michal Kaczmarczyk, jdurandgasselin, Anil Keshwani and 2 more
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.
Reacted by Manuel Bessler, Fanshu J, Florentin Hennecker, Frankie Robertson, Maxim Smirnov, Caylin, juan-offworld, Michal Kaczmarczyk and jdurandgasselin
Activity
smithsp commented on Feb 10, 2014
Consider the following:
Is this not sufficient?
jon-armstrong-zz commented on Aug 7, 2014
That works, thanks. I didn't find it documented anywhere, so I assumed it wasn't supported.
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.
corydodt commented on Mar 26, 2017
Was this feature removed? The sample code no longer works.
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'
ankostis commented on Mar 27, 2017
Maybe this part of the documents help: Using git directly.
corydodt commented on Mar 27, 2017
My bad! I was omitting the .git. part of the API.
Merge pull request gitpython-developers#136 from gitpython-developers…