enhance: use --force to override local refs if it is mismatched with remote's

This commit is contained in:
leo 2024-04-10 11:52:28 +08:00
parent 1dadad7775
commit 8ab7370409

View file

@ -24,7 +24,7 @@ namespace SourceGit.Commands
Args = "-c credential.helper=manager "; Args = "-c credential.helper=manager ";
} }
Args += "fetch --progress --verbose "; Args += "fetch --force --progress --verbose ";
if (prune) if (prune)
Args += "--prune "; Args += "--prune ";
Args += remote; Args += remote;