The Codeberg Pages Server – with custom domain support, per-repo pages using the "pages" branch, caching and much more! Easy to selfhost too!
Find a file
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
.domains Add index.html page for main domain 2021-12-01 23:54:04 +01:00
.gitignore Add .gitignore from main branch to avoid confusion 2021-12-01 23:55:06 +01:00
index.html Use git switch instead of git checkout for modern git usage (#119) 2022-07-27 17:26:55 +02:00