How to force a git pull
When running git pull, conflicts can occur if there are code changes. However, the code on a server needs to always be up to date anyway, so you overwrite it. A
GGAMI
When running git pull, conflicts can occur if there are code changes.
However, the code on a server needs to always be up to date anyway, so you overwrite it.
At this point, you can enter this command.
git reset --hard HEAD && git pull