From 31291a109aa3b05908b4926fd7e126e6ec5927a1 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 22 Jul 2022 21:21:11 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Pages=20/=20How=20?= =?UTF-8?q?to'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pages-%2F-How-to.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Pages-%2F-How-to.md diff --git a/Pages-%2F-How-to.md b/Pages-%2F-How-to.md new file mode 100644 index 0000000..1489d36 --- /dev/null +++ b/Pages-%2F-How-to.md @@ -0,0 +1,23 @@ +# Host static websites with Gitnet Pages! + +## Set up your repository + +Create a public repository named `pages` to make the site available at the main subdomain + +**OR** + +Create a branch `pages` in a repository: + +``` +git checkout --orphan pages +git rm --cached -r . +``` + +## Upload your files + +Push your static content, HTML, style, fonts, images or anything else. + +## You're done! + +Access your new website using this link: `https://USERNAME.codeberg.page[/REPOSITORY][/@BRANCH]`. +