I used to develop on linux environment, but now I need to write a git project on "windows" os. I need to ignore a directory from where the git is initiated.
like folder/.git/
, now I need to ignore /folder/project/bin/*
. So I have added .gitignore file on folder/.gitignore
using both text pad and Visual studio.
.gitignore file contents are
/project/bin/*
Now, I expect git status
should not show /project/bin
folder.
Note, I have tried other ways too, but it seems that git is considering the .gitignore file as a general text file or so.