#git - July 2020

gitArchived
2 messages

All things git (except gitops)

Eric Berg
Eric Bergover 6 years ago
I have a branch on which I have a significant amount of change that I want to "merge" back to master, but I want that branch to replace what's in master now, not merge into it. I think I can use the following to accomplish that for merging mybranch into master:
git checkout master
git merge -s theirs mybranch

I have also seen it suggested that i merge master into mybranch into master first, using -s ours and then merge mybranch into master.

Recommendations?
RB
RBover 6 years ago
anyone create a custom github homebrew tap in a private repo ? getting authorization errors