Change your site
Last updated
Last updated
There are two main ways you can save changes to your site: on GitHub and on your computer. Choose which one best suits you, or you can mix and match as appropriate.
Since the template is , this page really just describes the different ways to make Git changes (commits).
This is the easiest and most convenient method to edit your site. GitHub has a very nice and always-improving graphical web interface. If you wanted to, you could edit and manage your site entirely from the GitHub website.
There is a for changing single files at a time, and with multiple files, syntax highlighting, sophisticated controls, etc. Use one of these interfaces to make the changes you want, then either commit directly to your main
branch (to publish your changes immediately) or create a new branch and pull request (to preview/review your changes before publishing them).
This approach requires experience with Git and using command-line interfaces, but is better for when you're doing larger edits, when you want to work on your changes privately before pushing them, and when you want to iterate rapidly and not wait for pull request previews to update.
on your command line. In summary:
Decide how you'll be making changes:
Make changes directly to the main
branch of your website repo (publishes changes immediately).
Make changes to a branch (e.g. add-sarah-bio
) of your website repo (allows previewing changes before publishing).
Make changes to a fork of your website repo (allows previewing changes before publishing).
the appropriate repo to your computer and switch to the appropriate branch.
Edit the cloned site on your computer with your favorite .
Commit and push the changes.
If working from a branch or fork, make a pull request to your main website repo and merge when ready to publish.