mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
Use git switch instead of git checkout for modern git usage
This commit is contained in:
parent
f5f9eb0860
commit
7284ff36f0
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@
|
|||
<div class="codeberg-divider"><hr>or<hr></div>
|
||||
<p>
|
||||
Create a branch <code class="code">pages</code> in a repository:<br>
|
||||
<code class="code">git checkout --orphan pages</code><br><code class="code">git rm --cached -r .</code>
|
||||
<code class="code">git switch --orphan pages</code>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-lg text-center">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue