I have read that there is another way of ignoring files as mentioned in this article using the .git/info/exclude. I kinda like it because there is one file less in the directory. and anyway there will be one device where this program will be coming from. I dont mind not havingg version control on the .gitingnore
The simplified directory looks like this:
- .git
- vendor
- index.php
- sometext.txt
I would like to ignore vendor and the text file. How would i ignore them the command line way and the manual text edit on the .git/info/exclude. Also vendor has already been committed(and pushed) i would like for it not to be included in future pushes.