What files should I commit to my git repository?

I just started a fresh slicemachine integration with a new Next.js project, added a new ContentType and a new Slice and now I'd like to know which of these files automatically created I should actually commit to my git repository. Please check the image bellow:

Hey Dylson,

Welcome to the community!

We have discussed this topic previously here, although for the moment I recommend committing this folder:



Hey Phil, thanks for the quick reply!

So it is safe to track .slicemachine/, customTypes/, slices/, pages/ and all of it's contents alongside sm.js? Is that fair to assume?

That's correct.

1 Like

Sweet! Thanks a lot!

1 Like