In this tutorial, you will create a new GitHub repository to host your notes.
- Navigate to github.com/new.
- Given the repo a name.
- Choose "Private". (Choose "Public" if you want to open-source all of your notes).
- Leave other options as default. Click "Create repository".
- Navigate to github.com/settings/tokens/new.
- Give the token a name.
- Check the
repo
checkbox. Its children should be auto selected. - Leave otgher options as default. Click "Generate token".
- Copy and save the token somewhere safe. You will not see it again once you leave the page.
- Open a GitHub a
- Use Ctrl+Space to open command input. Type ss to open settings page.
- Fill in
Owner
field with your GitHub username. - Fill in
Repo
field with the name of the repo you just created. - Select
HTTPS
as your Network protocol. - Fill in the personal access token you just created.
- Click "Test" to make sure your credentials are correct.
- Click "Save connection" to connect and initialize the repo.
- If you want to use SSH protocol, you need to make sure the SSH private keys are available on the container. See Storage setup guide