Sublime Forum

Can't add remote

#1

I try to add remote url, but I got ‘Invalid Remote Name’, whatever I typed.
IM_%E6%88%AA%E5%9C%96_2022-10-19-09-05-51

How to fix it??

Thanks.

0 Likes

#2

Hi @LancelotRobinChen,

Thanks for reaching out and sorry you’ve run into this.
Could you confirm if there is any whitespace before “upstream”?

Thanks,
- Dylan from Sublime HQ

0 Likes

#3

No.
and the ‘Invalid Remote Name’ message appear just after I type a whitespace after upstream.

0 Likes

#4

Hi @LancelotRobinChen,

Thanks for confirming this - this is the expected behavior as remote names cannot have whitespace.
To add the remote URL, press enter after adding the remote name and a new dialog will appear to add the remote URL.

Cheers,
- Dylan from Sublime HQ

0 Likes

#5

It works!!

Thanks.

1 Like