#密码中包含@,则使用%40代表@
cd /disk03/wwwroot/GitDemo/BuildTemp && git clone -b dev --single-branch http://root:test%40123@192.168.31.104/root/SaaS.Auto.Api.git
git pull origin dev
今天使用LibGit2Sharp在Linux上Clone代码时报错,因此放弃掉LibGit2Sharp,直接使用git 命令
LibGit2Sharp报错:
Unable to load shared library 'git2-a418d9d' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgit2-a418d9d: cannot open shared object file: No such file or directory