We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 286ec63 commit 1ab457dCopy full SHA for 1ab457d
Git/Project.cs
@@ -23,7 +23,9 @@ public void Init(string repository)
23
if (!Directory.Exists(GitPath))
24
{
25
Directory.CreateDirectory(GitPath);
26
- RunCommand($"clone --mirror {repository} .");
+ RunCommand($"init");
27
+ RunCommand($"remote add origin {repository}");
28
+ RunCommand($"config remote.origin.fetch +refs/*:refs/*");
29
}
30
31
Program.cs
@@ -128,6 +128,7 @@ static async Task AsyncMain(IConfigurationRoot config)
128
if (mergeBranchTree == autoMergeTree)
129
130
Console.WriteLine("No changes to push into merge branch");
131
+ git.Checkout(gitHubConfig["mergeBranch"]);
132
133
else
134
0 commit comments