how to accept all incoming changes git command line code example Example: git accept incoming changes for all git checkout --theirs path/to/file