diff --git a/website/content/docs/gatsby.md b/website/content/docs/gatsby.md index 2ddd34fd..8acd2700 100644 --- a/website/content/docs/gatsby.md +++ b/website/content/docs/gatsby.md @@ -61,7 +61,7 @@ In your `config.yml` file paste the following configuration: ```yml backend: name: git-gateway - branch: master + branch: main # Branch to update (optional; defaults to master) media_folder: static/img public_folder: /img @@ -111,7 +111,7 @@ It's now time to commit your changes and push to GitHub. The Gatsby starter init git add . git commit -m "Initial Commit" git remote add origin https://github.com/YOUR_USERNAME/NEW_REPO_NAME.git -git push -u origin master +git push -u origin main ``` ### Add your repo to Netlify diff --git a/website/content/docs/gridsome.md b/website/content/docs/gridsome.md index fdac1393..a59fd540 100644 --- a/website/content/docs/gridsome.md +++ b/website/content/docs/gridsome.md @@ -106,7 +106,7 @@ Your `config.yml` for GitHub should look like this: ```yml backend: name: git-gateway - branch: master + branch: main # Branch to update (optional; defaults to master) media_folder: "static/uploads" public_folder: "/uploads" @@ -133,7 +133,7 @@ git init git add . git commit -m "Initial Commit" git remote add origin https://github.com/YOUR_USERNAME/NEW_REPO_NAME.git -git push -u origin master +git push -u origin main ``` ### Add your repo to Netlify diff --git a/website/content/docs/hugo.md b/website/content/docs/hugo.md index b225db7a..89a05cca 100644 --- a/website/content/docs/hugo.md +++ b/website/content/docs/hugo.md @@ -86,7 +86,7 @@ In the `config.yml` file, you can add this basic configuration — you can custo ```yaml backend: name: git-gateway - branch: master # Branch to update (optional; defaults to master) + branch: main # Branch to update (optional; defaults to master) media_folder: static/img public_folder: /img collections: @@ -115,7 +115,7 @@ git init # Initialize a git repository git add . # Add every file git commit -m "Initial Commit" # Commit every file with the message 'Initial Commit' git remote add origin https://github.com/YOUR_USERNAME/NEW_REPO_NAME.git # Create a new repo on GitHub and add it to this project as a remote repository. -git push -u origin master # Push your changes +git push -u origin main # Push your changes ``` ### Deploying With Netlify diff --git a/website/content/docs/jekyll.md b/website/content/docs/jekyll.md index 13955b0b..1e35cff2 100644 --- a/website/content/docs/jekyll.md +++ b/website/content/docs/jekyll.md @@ -49,7 +49,7 @@ Create a file `admin/config.yml` in the root of your repo - it should look like backend: name: git-gateway - branch: master # Branch to update (optional; defaults to master) + branch: main # Branch to update (optional; defaults to master) media_folder: 'assets/uploads' collections: - name: 'blog' diff --git a/website/content/docs/middleman.md b/website/content/docs/middleman.md index 44ced77c..1f6e4f97 100644 --- a/website/content/docs/middleman.md +++ b/website/content/docs/middleman.md @@ -128,6 +128,7 @@ For the purpose of this guide we will deploy to Netlify from a GitHub repository ```yml backend: name: git-gateway + branch: main # Branch to update (optional; defaults to master) media_folder: source/images/uploads public_folder: /images/uploads @@ -154,7 +155,7 @@ git init git add . git commit -m "Initial Commit" git remote add origin https://github.com/YOUR_USERNAME/NEW_REPO_NAME.git -git push -u origin master +git push -u origin main ``` ### Add your repo to Netlify diff --git a/website/content/docs/nextjs.md b/website/content/docs/nextjs.md index 95272e4e..aa3518c0 100644 --- a/website/content/docs/nextjs.md +++ b/website/content/docs/nextjs.md @@ -164,7 +164,7 @@ Paste the following configuration into your `public/admin/config.yml` file: ```yaml backend: name: git-gateway - branch: master + branch: main # Branch to update (optional; defaults to master) media_folder: public/img public_folder: img collections: diff --git a/website/content/docs/nuxt.md b/website/content/docs/nuxt.md index 1964edfe..6ba1a673 100644 --- a/website/content/docs/nuxt.md +++ b/website/content/docs/nuxt.md @@ -43,7 +43,7 @@ For your `static/admin/config.yml` file, you can put in a basic starter config: ```yaml backend: name: git-gateway - branch: master + branch: main # Branch to update (optional; defaults to master) media_folder: static/img public_folder: /img @@ -94,7 +94,7 @@ It's now time to commit your changes and push to GitHub. `create-nuxt-app` initi git add . git commit -m "Initial Commit" git remote add origin https://github.com/YOUR_USERNAME/NEW_REPO_NAME.git -git push -u origin master +git push -u origin main ``` ### Deploying With Netlify