I have the following message in git:
# Your branch and \'origin/master\' have diverged,
# and have 3 and 8 different commits each, respectively.
# (use \"
To erase your latest local commit use the following:
git reset HEAD^
This will get the header back to the state previous to the commit, and will allow you to git pull
from master. Make sure you save all your changes elsewhere (locally) before pulling from the remote repository.
To be able to pull without conflicts use git stash
, and then git pull
.