Error: 'current/.eslintrc.js' is beyond a symbolic link

Hi, I get this error when I commit my local Ghost to Github repo. Please take a look and help me figure this out. Thank you.

  • Current OS: MacOS Big Sur 11.4
  • Ghost-CLI version: 1.17.3
  • Ghost version: 4.9.3

Any help on further keyword about this issue is much appreciated :heart: Thank you!

You shouldn’t be committing a majority of the installation folder -

content - binary data (images, database) + backups
current - active version of Ghost
versions - active + previous versions of Ghost you installed
config.*.json - contains secrets
.ghost-cli - system specific

The only thing that you can really use git for is the content/themes/your-theme folder