<table><tr><td style="">mpyne closed this revision.<br />mpyne added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20174">View Revision</a></tr></table><br /><div><div><p>I have committed the doc fix (and maintained your authorship). I expect that we will be able to automatically migrate git modules to the new location if it is decided to use Gitlab for all KDE git repositories, but in the meantime it does require manually running some git commands.</p>
<p>The right sequence is probably something like:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">git config --global --add url.https://invent.kde.org/kde/.insteadOf invent:
git config --global --add url.git@invent.kde.org:kde/.pushInsteadOf invent:
git remote set-url origin invent:kdesrc-build
git remote -v
# Should look like
# origin https://invent.kde.org/kde/kdesrc-build (fetch)
# origin git@invent.kde.org:kde/kdesrc-build (push)
git fetch origin</pre></div>
<p>The <tt style="background: #ebebeb; font-size: 13px;">git-config</tt> commands add a new <tt style="background: #ebebeb; font-size: 13px;">invent:</tt> URL prefix that Git can use, similar to the <tt style="background: #ebebeb; font-size: 13px;">kde:</tt> you probably already have. This is available globally (I couldn't make it work as a local repository setting).</p>
<p>The <tt style="background: #ebebeb; font-size: 13px;">git-remote</tt> commands are used to change the location Git is looking for source to the Gitlab. The second command shows what the updated setting is, which should look as indicated in the code block above.</p>
<p>The final command causes Git to make the first network update to Gitlab, which may give a warning about a forced update or a redirection to a new URL.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R365 kdesrc-build</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20174">https://phabricator.kde.org/D20174</a></div></div><br /><div><strong>To: </strong>yurchor, mpyne<br /><strong>Cc: </strong>aacid, kde-doc-english, gennad, skadinna<br /></div>