diff --git a/README.md b/README.md index e469699..7268841 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,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 @@ -37,6 +38,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 a8dbc81..6c39a50 100644 --- a/src/setup/init.js +++ b/src/setup/init.js @@ -42,7 +42,7 @@ async function initProject(projectDirectory, userInput, options) { } // Set up Git - //setupGit(options); + setupGit(options); // Install additional dependencies installDependencies(userInput, options); // Install additional dev dependencies