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