Skip to content

Commit

Permalink
[#20] Init git and commit before transforming project.
Browse files Browse the repository at this point in the history
This lets you review what's changed before committing it.
  • Loading branch information
joshuapease committed May 24, 2024
1 parent ac9a86d commit 2685dc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
},
"scripts": {
"post-create-project-cmd": [
"git init",
"git commit -m \"Initial Commit\"",
"@php -r \"file_exists('.env') || copy('.env.example.dev', '.env');\"",
"@php composer-scripts/post-create-project.php",
"echo 'Cleaning composer.json'",
Expand Down

0 comments on commit 2685dc5

Please sign in to comment.