-
Notifications
You must be signed in to change notification settings - Fork 506
Git configuration
glushchenko edited this page Apr 2, 2023
·
1 revision
- Generate ssh key:
Open Terminal.app and generate private and public keys ssh-keygen -t ed25519 -f ~/Downloads/fsnotes -N ''
fsnotes and fsnotes.pub
- Create new repository https://github.com/new.
- Open repository settings and add key https://github.com/username/test-repository/settings.
3.1. Copy fsnotes.pub content and paste in Deploy keys -> Add deploy keys.
3.2. Check "Allow write access".
- Setup app.
Open projects settings, i.e right click on iCloud Drive -> Show Options:
4.1. Select private key (fsnotes)
4.2. Copy repository url and paste to origin field git@github.com:username/test-repository.git
.

- Press Clone/push button.
- Verify https://github.com/username/test-repository/