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