title: How to edit .gitignore file/change .gitignore file rules through Terminal
body: <p>I'm new to Git.. I created a .gitignore file and added a line of folder name into the .gitignore file. Now I'm wondering if I want to make a change to the line where i specified the directory name, how should I achieve this, especially how to do this through Mac terminal?
  Thanks in advance!</p>