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