문제

What is the right format for a git merge with a strategy of recursive ours? (not to be confused with the git merge ours strategy)

http://www.kernel.org/pub/software/scm/git/docs/git-merge.html

I tried a bunch of ways and it doesn't seem to work.

git merge foo -s recursive-ours  // doesn't work
git merge foo -s recursive ours // doesn't work
git merge foo -s recursive -ours // doesn't work
...
도움이 되었습니까?

해결책

git merge -s recursive -X ours foo

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top