Prerequisites
- Visit the GitHub signup page and create an account!
Creating a private repository
If you already have an existing repository synced from another location, you can skip this step.
We will be creating a new private repository on GitHub to hold the files you want to sync. While this offers a secure and private solution, keep in mind that no system is completely immune to determined attackers.
Log into your GitHub account.
Click your profile icon in the top right.
Select “Repositories” from the sidebar.
Click “New” to create a new repository.
Enter the repository details:
- Name (required)
- Description (optional)
- No need to initialize with a README, add a .gitignore, or select a license.
Click “Create repository”.
You’re all set!
Next steps
GitSync will guide you through the setup process when you install it, for the most part. However, here are detailed instructions for key steps you need to have completed:
- Authenticate with the default GitHub oAuth option (or any other provided auth option)
- Select the repo you created in the previous step from the “Clone remote repository” list
- Select a (or create a new) empty local directory to hold the files to be synced and wait for the initial clone to complete
- (optional) Copy any initial contents you want to start with into the directory from the previous step
- (optional) Turn on auto sync when a particular app is opened or closed on the device (or use one of the many other sync options provided)