//Unstage a list of paths public static void UnstagePaths(List <string> paths, Action <CommandOutput> onComplete) { string combinedPaths = GitUtility.QuoteAndCombinePaths(paths.ToArray()); GitGud.RunCommand("reset -- " + combinedPaths, onComplete); }
public static void DiscardFiles(List <string> paths, Action <CommandOutput> onComplete) { string combinedPaths = GitUtility.QuoteAndCombinePaths(paths.ToArray()); GitGud.RunCommand("checkout " + combinedPaths, onComplete); }