diff --git a/README.md b/README.md index f7e924e..d900f8f 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ - **Atomic Design Structure**: Creates an atomic design folder structure to organize your components. - **Redux Setup**: Sets up Redux with slices, middleware, and selectors for state management. - **Test Suite**: Installs Jest and Playwright for comprehensive testing. +- **Automatic Git Initialization**: Initializes a Git repository for your project during setup. ## Installation @@ -38,6 +39,8 @@ npx react-crafter my-new-app Replace `my-new-app` with the name of your project. +The setup process automatically runs `git init` so your project starts with version control enabled. + ### Example: ```bash diff --git a/src/setup/init.js b/src/setup/init.js index cda0e59..b552528 100644 --- a/src/setup/init.js +++ b/src/setup/init.js @@ -48,7 +48,7 @@ async function initProject(projectDirectory, userInput, options) { } // Set up Git - //setupGit(options); + setupGit(options); // Install additional dependencies installDependencies(userInput, options); // Install additional dev dependencies