I'm on my machine and I want to upload the files on my local machine to my repository at github.com .
I have already executed the commands git add
, git commit
and only need to upload them. When I run git remote -v
, it returns the following:
$ git remote -v
origin [email protected]:romulosousa27/php.git (fetch)
origin [email protected]:romulosousa27/php.git (push)
otigin git.github.com:romulosousa27/php.git (fetch)
otigin git.github.com:romulosousa27/php.git (push)
teste https://github.com/romulosousa27 (fetch)
teste https://github.com/romulosousa27 (push)
At this point, is it already set to push
?
If yes, when I run the command git push
, this is returned:
$ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
P.S: My Key SSH
is already configured.