示例#1
0
		public ICommandResponse Push (string path)
		{
			Git git = new Git(new FileRepository(ToGitDirString(path)));
			Iterable<PushResult> pushResults = git.Push().Call();
			ICommandResponse result = new NGitPushResultAdapter(pushResults);
			return result;
		}
示例#2
0
        public ICommandResponse Push(string path)
        {
            Git git = new Git(new FileRepository(ToGitDirString(path)));
            Iterable <PushResult> pushResults = git.Push().Call();
            ICommandResponse      result      = new NGitPushResultAdapter(pushResults);

            return(result);
        }