0
我想使用python-gitlab獲取文件的歷史記錄。這可能嗎?如何使用python-gitlab獲取文件的歷史記錄
我想使用python-gitlab獲取文件的歷史記錄。這可能嗎?如何使用python-gitlab獲取文件的歷史記錄
你可能想試試這個:
getrepositorytree
這裏的路徑應該是你想要得到的歷史文件的路徑。 http://pyapi-gitlab.readthedocs.org/en/latest/index.html?highlight=commits#gitlab.Gitlab.getrepositorytree
而且也:
getrepositorycommits
http://pyapi-gitlab.readthedocs.org/en/latest/index.html?highlight=commits#gitlab.Gitlab.getrepositorycommits