In git I just did a
git pull
to get any possible changes that someone else might have been made on the remote branch I am on, and that git pull
created an automated merge I had to revert with
git reset --hard <commit-just-before>
Is there a way to avoid this automatic merge when doing git pull
?
There is the possibility I am doing things completely wrong, as I am a beginner with git and I am not familiar with the nomenclature used in these context.