as above.
here's the content of .gitignore (located in project main folder)
➜ pwd
/Volumes/drive2/my-project
➜ cat .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-im-trying-to-ignore.txt
What am i doing wrong?
I've commited my repo after making changes to .gitignore and then made changes to file-im-trying-to-ignore.txt
I used these 2 sites as reference:
- https://www.atlassian.com/git/tutorials/saving-changes/gitignore#:~:text=If%20you%20want%20to%20ignore,directory%20as%20an%20ignored%20file.
- https://linuxize.com/post/gitignore-ignoring-files-in-git/
Thank you