我需要使用libgit2sharp将本地存在的标签推送到远程。但是我找不到怎么做。
我在libgit2sharp的github仓库(问题和测试用例)中进行了大量搜索,但没有发现任何问题。
有一些关于替代方法的讨论git push --tags,人们说此命令只是git push <remote> refs/tags/*:refs/tags/*对它的一种语法糖,而这正是您需要在libgit2sharp中执行的操作才能使标签被推送。
但是我怎么翻译这个命令
git push <remote> refs/tags/*:refs/tags/*
Run Code Online (Sandbox Code Playgroud)
放入libgit2sharp代码?
谢谢你们。