M
M
Maila2017-05-23 16:03:30
git
Maila, 2017-05-23 16:03:30

Error when pushing committed changes to Github cloud?

trying to submit for the first time: there was an error creating $ git commit -m "first commit" suggested run git config --global user.email "[email protected]" git config --global user.name "name" - solved by creating a . getgonfig in an Open Server where Git is installed and creating a .getconfig file and a new user in the "Users" folder on drive 'C.' After that the following commands were issued: $ git commit -m "first commit", $ git status, and $ git push origin and the following error was given: "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"39f38be1c0f549deba49ed9892ec1a72.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Moseychuk, 2017-05-23
@fshp

Well, everything is written in the error message.

E
Elminio, 2020-06-03
@elminio

git push accesses a repository that has already been added using remote. Personally, in my case, such an error appeared due to the fact that the repository was not specified.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question