git error: you need to resolve your index first code example Example: git error needs merge git reset --merge