Please, help me. I cannot add remote in my git repository. Where is my problem?
git remote add https://github.com/ProgrammingHeroWC4/warehouse-management-client-side-Nmakhdum.git
usage: git remote add [<options>] <name> <url>
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=(push|fetch)]
set up remote as a mirror to push to or fetch from
CodePudding user response:
git remote add [<options>] <name> <url>
You need two params: name and url.
git remote add originNew https://github.com/ProgrammingHeroWC4/warehouse-management-client-side-Nmakhdum.git
You are not adding all the required params and git shows you the help details for the command.
CodePudding user response:
Add Name git remote add name_here https://github.com/ProgrammingHeroWC4/warehouse-management-client-side-Nmakhdum.git