I have two git repos with same code on two separate gitlab deployments. It is not gitlab EE so i dont have the mirror functionality available to me.

In the beginning I ensured that each commit is pushed to both repos but over time it got out of hands and i could do justice to this practice. 

At the moment I would forcefully like to make `repo1` the same as `repo2`. But while doing this I seem to be stuck in a circle. 

This is what I do:

```
$ git pull repo1 master
...there are conflicts. 
...I resolve them, add the file, then do git rebase --continue
$ git push repo1 master --now this works
$ git pull repo2 master
...there are conflicts. 
...I resolve them, add the file, then do git rebase --continue
$ git push repo2 master

```

After the above, I would imagine everything is ok. But now when I do `git pull repo1 master`, I have to do the above steps over again. 

**Question**

Is there a way to forcefully make `repo1` the same as `repo2` other than deleting repo1 from gitlab and starting over?

Additionally, going forward what would be the best way to keep both repos in-sync?