How do I tell git to always select my local version for conflicted merges on a specific file?
Posted
by saffsd
on Stack Overflow
See other posts from Stack Overflow
or by saffsd
Published on 2009-05-30T00:29:53Z
Indexed on
2010/05/13
19:04 UTC
Read the original article
Hit count: 150
Say I'm collaborating with someone via a git repository, and there is a particular file that I never want to accept any external changes to.
Is there any way for me to set up my local repo to not complain about a conflicted merge every time I git pull? I'd like to always select my local version when merging this file.
© Stack Overflow or respective owner