Blog Image

Contributing To This Blog

Using Git and GitHub Codespaces to contribute to this website

Author: Siddharth Gupta
Date: 10/10/23

If you’d like to contribute to this blog, follow these steps. Anything in bold is a link that can be clicked on.

  1. Make a GitHub account if you haven’t already.
  2. Navigate to the repository for this website here.
  3. Fork the repository.
  4. On your own copy, click the green Code button and go to the Codespaces tab.
  5. Create a new codespace.
  6. In the codespace, you should be able to edit all the website files. Navigate to ./src/content/posts and create a new file with the extension .md. Before you begin writing, copy and paste an old entry so you get all the frontmatter required.
  7. When you’re done writing, commit your changes by typing git add . && git commit -m "create new blog post" in the terminal.
  8. Push your changes to your fork by typing git push into the terminal.
  9. Create a pull request so we can review your changes!