I cannot view the .gitignore file in Mac via ls. But vi is able to open it and edit. Cannot add the file to git and it’s not working either. Has anyone faced this issue before?
Files starting with .
are considered "hidden" in Unix systems such as OSX. Use ls -a
to view them.