使用git show,我可以从特定的提交中获取特定文件的内容,而无需更改本地克隆的状态:
git show
$ git show <file> $ git show <commit>:<file>
如何使用libgit2sharp以编程方式实现此目的?
c# git f# libgit2 libgit2sharp
c# ×1
f# ×1
git ×1
libgit2 ×1
libgit2sharp ×1