I am the only user of this remote git repository. And I work only on one machine.
I avoid git command line and do "Commit all" and "Push" in vscode. No other interaction with git.
And still I now get this. I suspect something went wrong because of network trouble. But since my git fu is extremely weak I am very hesitating to test the suggested action here. (I mean the data must be wrong somewhere.)
Ah, and this is on Windows 10. Maybe some special problem there?
And. vscode is in my opinion very buggy (but comfortable for me right now). Big problems with race conditions in the editor for me. (Using a cheap laptop.) So if I do a pull I will have to check everything very carefully.
What can I safely do?
> git push origin master:master
To bitbucket.org:HIDDEN.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'bitbucket.org:HIDDEN.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.