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