示例#1
0
		public ICommandResponse Pull (string path, string destPath)
		{
			var git = new Git(new FileRepository(ToGitDirString(path)));
			var pullCommand = git.Pull();
			ICommandResponse result = new NGitPullResultAdapter(pullCommand);
			return result;
		}
示例#2
0
        public ICommandResponse Pull(string path, string destPath)
        {
            var git                 = new Git(new FileRepository(ToGitDirString(path)));
            var pullCommand         = git.Pull();
            ICommandResponse result = new NGitPullResultAdapter(pullCommand);

            return(result);
        }