I did search all the questions that are similar to mine but still, I am not able to achieve what I wanted to. Please advice if this is possible:
- I have publicRepo/master branch
- I have privateRepo/master branch
I would like to simply take the latest of publicRepo/master and merge with privateRepo/master. But I would like to take everything from publicRepo/master regardless of merge conflicts (similar to what used to be git pull -s
theirs)
How can this be done, so far I have tried these solutions:
1) Merge 2 Different git Repos (I end up with 3 way merge and get theirs when there are conflicts) 2) Merging two Git repositories
I also tried:
git fetch --all (as I added publicRepo/dev as one of my remotes)
git reset --hard publicRepo/dev
git pull (does a 3 way merge, which I do not want, I want everything from my publicRepo/Master)