after the reset, commits to index and a gitignore