This is probably just me being novice at .gitignore, but after doing a lot of googling I'm unable to understand what I am doing wrong. Here is the link to my repo (next.js-boilerplate branch): https://github.com/thetoxicavenger/google-sheets-api-test. Thank you.
I don't see .next in the .gitignore file?
Could you explain your problem better. I just checked your package.json but you do not have next.js installed.
@thetoxicavenger You have the line commented out: https://github.com/thetoxicavenger/google-sheets-api-test/blob/next.js-boilerplate/.gitignore#L60
Change that line to just contain .next and then run git rm -r --cached .next to remove the folder from your git repo
Like @kylealwyn said 馃槃
@kylealwyn @timneutkens yep, props Kyle. Didn't know about that git command; that's exactly what I was looking for! Kudos.
Most helpful comment
@thetoxicavenger You have the line commented out: https://github.com/thetoxicavenger/google-sheets-api-test/blob/next.js-boilerplate/.gitignore#L60
Change that line to just contain
.nextand then rungit rm -r --cached .nextto remove the folder from your git repo