【发布时间】:2021-03-23 04:46:41
【问题描述】:
有没有办法只使用 libgit2sharp 提交特定文件的更改?我正在寻找类似 git commit -m'single file' test.txt 的等价物
【问题讨论】:
标签: c# libgit2sharp
有没有办法只使用 libgit2sharp 提交特定文件的更改?我正在寻找类似 git commit -m'single file' test.txt 的等价物
【问题讨论】:
标签: c# libgit2sharp
我相信您可以暂存您想要提交的文件。
Commands.Stage(repo, files);
repo.Commit(message, author, committer);
加里克
【讨论】: