git error: you need to resolve your current index first 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