
#Github desktop tutorial update
Now that you have everything connected, you can update your repo whenever you want to make changes to your site. You can send this link to your friends, add it to your GitHub profile README, or post it in the Happ圜oding.io forum! Update Your GitHub Pages Site That means you can also navigate to without the index.html part to see your page! By default, most web servers will automatically show index.html if you don’t specify a file.

The index.html file is also a bit magical. Now here’s the magic part! Point your browser to and you’ll see your HTML rendered by the browser. Go back to your repo in GitHub, and you should now have an index.html file in your repo. Again, you can use either GitHub Desktop or the git command line tool. You can test your HTML by opening the file in your browser.Īdd, commit, and push your index.html file. Save this to your index.html file in your repo, right next to your README.md file. My GitHub Pages Site Hello world! Welcome to my GitHub Pages site! You can use any text editor to do this step. You can use GitHub Desktop or the git command line tool.Ĭreate an index.html file containing some HTML content and save it to the local copy of your repo. Next, follow the flow you learned in the GitHub profile README tutorial to add an index.html file to your repo.Ĭlone your repo. Unlike the GitHub profile README feature, GitHub Pages does not convert markdown into HTML by default, which is why you see the raw markdown in your browser. This is the raw content of the README.md file, hosted on GitHub Pages. To test that everything is working, point your browser to. Right now, your GitHub Pages site is hosted at, but your repo only contains a single README.md file.
#Github desktop tutorial code
Go back to your repo’s homepage (the Code tab). If you wanted to turn a different repo into a GitHub Pages site, this is where you’d do that!īut if you’re working from a YOUR_ repo, you don’t have to change any settings. Next, go to the Settings tab of your repo and scroll down to the GitHub Pages section.Ĭreating a repo named YOUR_ automatically activates the GitHub Pages feature and enables these settings. When you create your repo, check the Add a README file box.Ĭlick the Create repository button to create your repo!

(There’s a third type of GitHub Pages repository called an organization site, but you probably don’t need that right now.)įor now, create a user site GitHub Pages repository by creating a repo named YOUR_.
