Separating WordPress theme from system files in a git repository

I’ve been making a WordPress theme and using git to save progress. My whole WordPress site is in the git project, and I would like to remove everything except the theme folder so I can easily transplant it on other WordPress sites.

I know one way is to just delete everything and move the theme to the root folder and commit. But checking out after that will be more complicated, right? So is there another way?

Read More

Thanks.

Related posts

Leave a Reply

1 comment