In Visual Studio Code - I just chose to "add remote" so I can clone a repository and like every time, it asks me for a "Remote Name" I feel there is redundancy here and I don't know where this "Remote Name" is actually used. I feel like I'm at the doctors office filling in the date 27 times on 3 pages of paperwork.
What is the purpose of this "Remote Name"? What should I name it? Should I include information about the branch or something?
Thanks in advance for information about the best practice/workflow here, or anything my new programmer's mind doesn't yet grasp.
The Git: Add Remote command is from VSCode 1.46 (Q2 2020), and is made to add remotes to existing local repository.
Asking for the Remote Name makes sense, since you are supposed to already have an existing local repository (possibly cloned from a remote one, referenced as "origin"): you might want another remote, named "upstream", to keep track of an original repository that you have forked.
Cloning a remote repository would be done with Git: Clone, which will automatically add the remote URL as "origin" for you, avoiding the redundant step of the "Remote Name" prompt.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With