When creating a repo on a git server and wanting to push your existing local repo for the first time, how do I set the remote?
M a seems to not like me inputting the url, or a name like "origin". It gives me
Wrong type argument: stringp, nil.
The command line answer of exactly what I'm looking for is:
git remote add origin email@example.com:user/repo.git
How do I do this in magit?
The magit manual seems outdated here because I can't find the
M u option.
This might be related: Magit error on magit-remote-add.