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