I want to sync the local branch with the remote git branch. I tried to do
git pull
but it fails with the below error
error: The following untracked working tree files would be overwritten by merge:
Please remove or move them before you can merge.
Is there a command which just overwrites the local changed files and just updates with the changes in the repo. Even if there are conflicts I just want the changes in the remote repository to be applied.
Is there one command I can run to get this done?