Open shabakett opened 1 year ago
A great option to be added is: Commands.Run(string repoUrl, params string[] commands) method.
Examples:
Commands.Run(@"D:\repo", $"ls-remote {fromRepo} refs/heads/master"); Commands.Run(@"D:\repo", $"fetch --force --progress {fromRepo} master"); Commands.Run(@"file:///D:/repo", $"checkout master"); Commands.Run(@"file://localhost/repo", $"reset --hard FETCH_HEAD"); Commands.Run(@"git://localhost/repo", $"reflog expire --expire-unreachable=now --all", $"gc --prune=now"); Commands.Run(@"http://localhost/repo", $"update-server-info");
A great option to be added is: Commands.Run(string repoUrl, params string[] commands) method.
Examples: