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