Метод | Описание | |
---|---|---|
AddFile ( string filePath ) : void | ||
Checkout ( string branch ) : void | ||
Clone ( string remotePathOrUrl, string workingDirectory ) : IRepository | ||
Commit ( string message ) : void | ||
CreateBranch ( string branch ) : void | ||
CreateBranch ( string sourceBranch, string branch ) : void | ||
DeleteBranch ( string branchName ) : void | ||
Fetch ( [ remoteName ) : void |
Fetches the specified remote for tracking. If not argument is supplied, fetches the "origin" remote.
|
|
GitProvider ( VBProject project ) : System | ||
GitProvider ( VBProject project, IRepository repository, ICodePaneWrapperFactory wrapperFactory ) : System | ||
GitProvider ( VBProject project, IRepository repository, ICredentials |
||
GitProvider ( VBProject project, IRepository repository, ICredentials |
||
GitProvider ( VBProject project, IRepository repository, string userName, string passWord, ICodePaneWrapperFactory wrapperFactory ) : System | ||
Init ( string directory, bool bare = false ) : IRepository | ||
InitVBAProject ( string directory ) : IRepository |
Exports files from VBProject to the file system, initalizes the repository, and creates an inital commit of those files to the repo.
|
|
Merge ( string sourceBranch, string destinationBranch ) : void | ||
Publish ( string branch ) : void | ||
Pull ( ) : void | ||
Push ( ) : void | ||
RemoveFile ( string filePath ) : void |
Removes file from staging area, but leaves the file in the working directory.
|
|
Revert ( ) : void | ||
Stage ( IEnumerable |
||
Stage ( string filePath ) : void | ||
Status ( ) : IEnumerable |
||
Undo ( string filePath ) : void | ||
Unpublish ( string branch ) : void |
Метод | Описание | |
---|---|---|
GetSignature ( ) : Signature | ||
GetSignature ( LibGit2Sharp repo ) : Signature | ||
RequeryUnsyncedCommits ( ) : void |
public Clone ( string remotePathOrUrl, string workingDirectory ) : IRepository | ||
remotePathOrUrl | string | |
workingDirectory | string | |
Результат | IRepository |
public CreateBranch ( string branch ) : void | ||
branch | string | |
Результат | void |
public CreateBranch ( string sourceBranch, string branch ) : void | ||
sourceBranch | string | |
branch | string | |
Результат | void |
public DeleteBranch ( string branchName ) : void | ||
branchName | string | |
Результат | void |
public GitProvider ( VBProject project ) : System | ||
project | VBProject | |
Результат | System |
public GitProvider ( VBProject project, IRepository repository, ICodePaneWrapperFactory wrapperFactory ) : System | ||
project | VBProject | |
repository | IRepository | |
wrapperFactory | ICodePaneWrapperFactory | |
Результат | System |
public GitProvider ( VBProject project, IRepository repository, ICredentials |
||
project | VBProject | |
repository | IRepository | |
credentials | ICredentials |
|
wrapperFactory | ICodePaneWrapperFactory | |
Результат | System |
public GitProvider ( VBProject project, IRepository repository, ICredentials |
||
project | VBProject | |
repository | IRepository | |
credentials | ICredentials |
|
wrapperFactory | ICodePaneWrapperFactory | |
Результат | System |
public GitProvider ( VBProject project, IRepository repository, string userName, string passWord, ICodePaneWrapperFactory wrapperFactory ) : System | ||
project | VBProject | |
repository | IRepository | |
userName | string | |
passWord | string | |
wrapperFactory | ICodePaneWrapperFactory | |
Результат | System |
public Init ( string directory, bool bare = false ) : IRepository | ||
directory | string | |
bare | bool | |
Результат | IRepository |
public InitVBAProject ( string directory ) : IRepository | ||
directory | string | Local file path of the directory where the new repository will be created. |
Результат | IRepository |
public Merge ( string sourceBranch, string destinationBranch ) : void | ||
sourceBranch | string | |
destinationBranch | string | |
Результат | void |
public RemoveFile ( string filePath ) : void | ||
filePath | string | |
Результат | void |
public Stage ( IEnumerable |
||
filePaths | IEnumerable |
|
Результат | void |