add reset to clean working directory
removed --index from git apply