I created a .gitignore to ignore an untracked file called tola.txt, now when i do git status now tola.txt is gone but .gitignore is coming under untracked files. I have temp moved an entry .gitignore inside .gitignore file, but that's just a hack I believe, how can i get rid of this .gitignore mess?
root>$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# tola.txt
root>$ vim .gitignore
added tola.txt in .gitignore, but now .gitignore has become the untracked
root>$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore