메소드 | 설명 | |
---|---|---|
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 |