mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Checkout resets to remote branch and DeletesPRList
This commit is contained in:
@@ -521,6 +521,11 @@ namespace TGServerService
|
||||
else if (result != null)
|
||||
return result;
|
||||
}
|
||||
|
||||
//if this is a tracked branch, we need to reset to remote first and delete the PR list
|
||||
ResetNoLock(Repo.Head.TrackedBranch ?? Repo.Head);
|
||||
DeletePRList();
|
||||
|
||||
var Opts = new CheckoutOptions()
|
||||
{
|
||||
CheckoutModifiers = CheckoutModifiers.Force,
|
||||
|
||||
Reference in New Issue
Block a user