gitpythonの道:私はgitpythonを使用する必要が git log --follow -- <filename>
は、そう私が今やっていることは次のとおりです。 repo = git.Repo('repo_dir')
commits = [repo.rev_parse(c) for c in r]
よりgitpython-IC方法でそれを行う方法があります: import g
を取得します。 repo=git.Repo(repo_dir)
repo.tag # --> tags. But which is the current?
gitツールで認識されます。例 [email protected]> git status
HEAD detached at release/1.2.3
gitpythonで文字列 "release/1.2.3"を取得したいとしま