Here's the content of file .gitignore (located in the project's main folder)
File /Volumes/drive2/my-project/.gitignore
.project
/config/file-im-trying-to-ignore.txt
config/file-im-trying-to-ignore.txt
file-im-trying-to-ignore.txt
These are the steps I used when making the changes:
- edit .gitignore
- commit
- edit file-I'm-trying-to-ignore.txt
What am I doing wrong?
I've committed my repository after making changes to .gitignore and then made changes to file-I'm-trying-to-ignore.txt
I used these two sites as reference: