Locally I have files, which i need to push to gitlab repository. But gitlab repository already has some files. But i need to rewrite them by files from my local. When i try
git push --set-upstream origin master
i get
error: failed to push some refs to 'http://gitlab2.fbn/analytics/airflow.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally.
What should i do to rewrite everything in gitlab?