Я впервые пытаюсь сделать громче мой локальный проект, когда я выполняю команду $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
После применения подсказки возвращается ошибка:
Warning: Permanently added the RSA host key for IP address '---------------' to the list of known hosts.
To github.com:LuisMatheus-dev/Gama-Academy.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'git@github.com: LuisMatheus-dev / Gama-Academy.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Как мне поступить?