From 7284ff36f09bae7d592f1059f56cf4ab535fd973 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Wed, 27 Jul 2022 08:19:41 +0200 Subject: [PATCH] Use git switch instead of git checkout for modern git usage --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0efcd2c..a2e82c2 100644 --- a/index.html +++ b/index.html @@ -128,7 +128,7 @@

or

Create a branch pages in a repository:
- git checkout --orphan pages
git rm --cached -r . + git switch --orphan pages