How to add named remote?

I just try old --set-remote name and this doesn’t exist.
Something like remote add doesn’t exist too.
What I missed?

1 Like

add a [remotes] section in .pijul/config, with your named remotes there. For example, for my local copy of pijul, I have:

[remotes]
nest = "pmeunier@ssh.pijul.com:pijul/pijul"
1 Like

Thanks :blush:
Maybe I’ll add command for it if it needed not to just me.

1 Like

That’s strange. I just add remote record and nothing changed.


Hm… :thinking: But pijul push bbb now works. :+1:
I’m sure that new remote should be presented in the list pijul remote.

I actually like the idea of not having such configuration commands. If the configuration is done via text files, you can just edit those text files. No need to repeat functionality. Similarly, there’s also no bash subcommand for editing .bashrc, for example. :wink:

2 Likes

thanks for the awesome information.