How do I keep a private copy of my book on GitHub?
Keep every version on your computer and a private copy in your own GitHub account, so your book is safe even if something happens to this computer.
Before you start
- PugWriter installed on this computer.
- A GitHub account. If you don't have one, you can make a free one along the way.
Steps
Choose File ▸ New Project… and work through the steps until you reach Where should your book be backed up?
If you see Git isn't installed, press Set up Git and follow the steps. PugWriter uses Git to keep every version. You only do this once on each computer.
Choose Back up with GitHub.
If you see Connect a GitHub account, press Connect GitHub and follow the code to GitHub's site. If you don't have an account yet, press Create a free account on github.com first. You only connect once on each computer.
Check the github.com address. The last part is the name of your copy, and you can change it. Keep Private selected so only you can see it.
Click Next, then press Create project on the review page. PugWriter creates the project and sends the first copy to GitHub.
For a project you've already started, open Backup & Sync from the activity bar and choose Git. Press Connect GitHub if you haven't connected yet, then Back Up Privately to GitHub, keep Private (recommended) ticked and press Back up.
To send new work, click the cloud item in the status bar and choose Back up now, or use Git ▸ Back Up Now. PugWriter doesn't send your writing to GitHub on its own, so do this whenever you want the copy brought up to date.
Check it worked
- Sign in at github.com and open your repository. Your chapters should be there.
- The cloud item in the status bar should say you're backed up.
- Check GitHub's AI-training setting at github.com/settings/copilot/features is the way you want it.
Did a step not match what you saw, or not make sense? Please tell us. Click Feedback in the app and add a screenshot. Here’s how