I am trying to git push and I am getting the following errors:
fatal: No configured push destination.
Either specify the URL from the command-line or
configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
So then I enter:
git push https://github.com/everest-
software/everest-web.git
And I get this:
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
https://github.com/everest-software/everest-
web.git master
After I enter that, I get this:
To https://github.com/everest-software/everest-
web.git
! [rejected] master -> master (non-fast-
forward)
error: failed to push some refs to
'https://github.com/everest-software/everest-
web.git'
hint: Updates were rejected because the tip of
your current branch is behind
hint: its remote counterpart. Integrate the
remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git
push --help' for details.
What do I do?