![]() $ git commit -m "Commit with ignored files properly ignored." 3. If all goes well, run git commit after to re-commit your files. $ git reset aaeb1de3f39a77af223f55bcabba1c649d3f097fįinally, re-stage your files with git add * and check that the ignored files are no longer staged with git status. Then, run git reset to revert your project back to the older version. You can also consider reverting your project to the initial commit, then re-stage your files and commit again.įirst, you’ll want to run git log, and find the hash (highlighted below) of your initial commit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |