Our trunk is called "master" and I've done a rebase
though there is a file "conflict" on the very last line:
Removed:
}
Added:
}
How do I force GIT to pull just the "conflicted" file to overwrite the local copy so I can do a clean rebase
? I do not want to blindly overwrite everything or lose untracked files.
You just have to git rebase --skip
to skip that patch or
You resolve it and then git add <path>
the file followed by a git rebase --continue
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.