# Testing repo
This repo is used for testing and exploring pijul.
# Pijul and nest
## Generating key
`ssh-keygen -t ed25519 -C hardy7cc@gmail.com`
* generated into `~/.ssh/<file_name>`
## Customizing `~/.ssh/config`
```
Host nest
HostName ssh.pijul.com
User hardy7cc
IdentityFile ~/.ssh/<file_name>
```
## Prove my identity to the nest
`pijul key prove hardy7cc@gmail.com`
## Getting nest repo started
* Create a repo via the nest gui `https://nest.pijul.com/hardy7cc`
* `pijul clone hardy7cc@nest:hardy7cc/test_repo`
## Push
```
pijul push hardy7cc@nest:hardy7cc/test_repo
^ ^ ^ ^~~~~~~~~
| | | Repository name
| | ^~~~~~~~
| | Nest user name
| ^~~~
| Name as defined in ssh config (`Host nest`)
^~~~~~~~
Nest user name
```
### With default_remote
If you cloned as shown above you already have the `default_remote` set correctly.
However if you did init your repo localy and did pushed directly with the provided
command instead of cloning there is no `default_remote` set.
#### Config
* Add the following line to the repos config file: `.pijul/config`
* `default_remote = "hardy7cc@nest:hardy7cc/test_repo"`