0

I performed a git push on a local project and got the message below:

! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/jongravois/arman.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. 

The note explains how to integrate by using git pull but what I would prefer is to push what I have and let it overwrite remotely rather than integrate.

Is there a command for that?

0

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.