This is a test of proceedure
- Create repository at github.com
- From terminal, clone repository to Arduino folder: git clone
- Create project in PlatformIO in the same Arduino folder
- From terminal: git add -A
- From terminal: git commit --message "Useful message here"
- From terminal: git push
- From PlatformIO controls at bottom (blue bar), synchronize all changes
Once complete, any changes/additions can be sync'd using Source Control. The following section explains:
- Make a change to a file and save it.
- Switch to Source Control tab
- Add a commit message
- Click the Check mark at the top to commit the change
- From PlatformIO controls at bottom (blue bar), synchronize all changes
You should be good!
But wait! There's More... You need to set up an SSH key pair to handle push/pull as ID/PW will no longer be supported.
- Download 64-bit PUTTY and all associated apps including PLINK.
- Use PuttyGen to make an RSA 2048 keypair.
- Set up a Putty session to github.com. Don't worry. You can't actually connect, but you will be able to accept the server key.
- Log into GitHub and add the Public key from Step 2 under Settings\SSH and GPG Keys
- Add a system variable to the Windows environment: GIT_SSH=C:\Program Files\PuTTY\plink.exe
- Start Pagent (PuTTY Authentication Agent)
- From Pagent in system tray, click Add Key and add the Putty private PPK from Step 2.
- Profit!