I have a cloned repo in my linux machine.I am trying to push that cloned repo from my linux machine to a git hub account. I have created the github account and I am followed the commands in the github page to push.
#push an existing repository from the command line
git remote add origin https://github.com/xxx/yyy.git
git push -u origin master
The above command was given in the github page to push the existing repo. I ran the below commands in my linux machine
git config --global user.name "xxx"
git config --global user.email "xxx@gmail.com"
git remote add origin https://github.com/xxx/yyy.git
Am getting the below error:
Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).