Метод | Описание | |
---|---|---|
GirLogFundAuthor ( string workDirectory ) : string | ||
GitClone ( string localRepository, string gitlabPath, string &cloneResult ) : string |
添加项目时候,第一次进行clone
|
|
GitPull ( string localRepository, string &gitPullResult ) : string |
获取gitlab远程库的代码,并且自动合并到本地。相当于svn的update
|
|
Libgit2_GitPull ( string localpath, string username, string password, string emailaddress ) : System.Boolean | ||
git_checkout ( string checkoutCommand, string workDirectory ) : System.Boolean |
进行分支的切换操作
|
|
libgit2_GitLog ( string localpath ) : string |
public GirLogFundAuthor ( string workDirectory ) : string | ||
workDirectory | string | |
Результат | string |
public GitClone ( string localRepository, string gitlabPath, string &cloneResult ) : string | ||
localRepository | string | 本地git库 |
gitlabPath | string | gitlab远程库 |
cloneResult | string | 返回的结果 |
Результат | string |
public GitPull ( string localRepository, string &gitPullResult ) : string | ||
localRepository | string | |
gitPullResult | string | |
Результат | string |
public Libgit2_GitPull ( string localpath, string username, string password, string emailaddress ) : System.Boolean | ||
localpath | string | |
username | string | |
password | string | |
emailaddress | string | |
Результат | System.Boolean |
public git_checkout ( string checkoutCommand, string workDirectory ) : System.Boolean | ||
checkoutCommand | string | 切换分支命名 |
workDirectory | string | 工作路径 |
Результат | System.Boolean |
public libgit2_GitLog ( string localpath ) : string | ||
localpath | string | |
Результат | string |