I installed the same Git repository on my local computer and I would like to add my changes to the remote repository.
My local repository is the newest repository and I would like to overwrite all content that is remote, as if I would just copy my files into a folder.
I have taken the files with a USB stick to my local computer and everything on my local computer is right.
I get the following error message.
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@gitlab.happyme.at:happymen.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 can I do to submit my files to this repository? I want to OVERWRITE all content that is there! And submit everything as one folder with content.
Can someone please help explain the steps?