Gary Wang 31b98b86ff Use git switch instead of git checkout for modern git usage (#119)
Git 2.23 came up with the new `git switch` command, which is not a new feature but an additional command to `switch/change branch` feature which is already available in the overloaded git checkout command.

By using `git switch --orphan pages`, it will create a new orphan branch.

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/119
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: Gary Wang <blumia@noreply.codeberg.org>
Co-committed-by: Gary Wang <blumia@noreply.codeberg.org>
2022-07-27 17:26:55 +02:00
2021-12-01 23:54:04 +01:00
Description
No description provided
EUPL-1.2 139 MiB
Languages
Go 95.7%
HTML 1.5%
Just 1.1%
Dockerfile 0.9%
Nix 0.8%