The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

kastelain (2) [Avatar] Offline
#1
Sect 2.1.2, I think the syntax is incorrect. The command should be "git remote add <short name> <repo URL>". "origin" isn't part of the command, but it's used in many other examples as a short name for the remote repo.

Also, the use of "username" in the description is wrong. That should be a reference to the short name for the remote repo, or the user's name for it.

A corrected example might be:
git remote add redux https://github.com/GitInPractice/GitInPracticeRedux.git

I'm still new to git, so please let me know if I've got this wrong.
kastelain (2) [Avatar] Offline
#2
Re: git remote add
Sorry, my mistake. I misread the command, thought there was an extra parameter. The syntax is correct as given.
Mike McQuaid (83) [Avatar] Offline
#3
Re: git remote add
Thanks for letting me know it's OK!