git
discard all local changes/commits and pull from upstream
git reset --hard origin/master
git pull origin master
git
discard all local changes/commits and pull from upstream
git reset --hard origin/master
git pull origin master
thank <3
This is so annoying. I read on all pages on the internet the same solution but it don't work. I always have the same modified files after fresh cloning and can't discard them. Even git stash && git stash drop don't work! git checkout -- . does also not work!
I've had the same, but a git checkout latest --force worked for me
Thanks, that does works!
Thanks! Worked like a charm
lol this one has saved my life and my job, tnx.
This really works.