How to ignore Icon? in git

You can use vim as well.

  1. vim .gitignore
  2. in a new line write Icon, then
  3. press ctrl+v and then press Enter
  4. repeat step 3
  5. save and exit (shortcut: ZZ)

Now you should have Icon^M^M and it’s done 🙂

For a smarter use you could add it to your gitignore global config file in ~/.gitignore_global.

Leave a Comment