Improve how-to for submitting

(Issue with remote branches.)
This commit is contained in:
Filip Gralinski 2021-10-09 14:44:37 +02:00
parent 3aa9a726a1
commit 54595a0bfa

View File

@ -52,6 +52,8 @@ $case (appRepoScheme settings)
$nothing
<pre>
git clone --single-branch #{appRepoHost settings}#{shownId}/#{challengeName challenge}
# --single-branch was used to speed up the process, but now we need to fix remote branches
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
<p>(Warning about empty repository is expected, don't worry about it.)
@ -95,6 +97,8 @@ $case (appRepoScheme settings)
<pre>
git clone --single-branch #{repoUrl repo}
# --single-branch was used to speed up the process, but now we need to fix remote branches
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
$maybe gitAnnexRemote <- (repoGitAnnexRemote repo)
<pre>