git merge -s remote ?
September 23, 2008 – 10:51 pmSometimes I spend considerable time resolving merge conflicts between git branches that’s absolutely bogus.
What I need is just “take a remote branch content and shut up”.
But despite there is -s ours there’s no -s remote.
What I’m missing?
6 Responses to “git merge -s remote ?”
Check out this Question on Stack Overflow:
http://stackoverflow.com/questions/101752/aborting-a-merge-in-git
And this post:
http://marc.info/?l=git&m=121637513604413&w=2
By Pat Notz on Sep 24, 2008
Thanks, Pat!
I’ve not thought about
git resetsolution despite daily using it (in buildbot).Will try to see how it lives with svn-tracking branch…
By Andrey Khavryuchenko on Sep 24, 2008
Pat,
Ok, this doesn’t work.
git-svn immediately looses it’s track of remote svn branch:
Oops
By Andrey Khavryuchenko on Sep 24, 2008
Note to myself.
If you get
then finding the commit hash of last svn commit (via git svn find-rev) and reseting to it (
git reset --hard) helps.By Andrey Khavryuchenko on Sep 24, 2008
Hi Andrey,
I have your exact problem. Did you find a solution? Many thanks,
Luca
By Luca de Alfaro on Nov 6, 2008
Found a solution. See http://docs.google.com/Doc?id=dct27ngc_86gqtpprmk Best, Luca
By Luca de Alfaro on Nov 6, 2008