cli icon indicating copy to clipboard operation
cli copied to clipboard

Feature idea: Init Git repo

Open 1stevengrant opened this issue 1 year ago • 1 comments

Similar to the Laravel installer, initialise a Git repo when everything is done.

If I knew the best place to add this, I'd happily contribute.

1stevengrant avatar Apr 17 '24 10:04 1stevengrant

Yeah that would be great. I currently do it in the Peak installer. Perhaps that helps.

I also offer the following options in there if you choose to create a git repo:

  • Exclude build folder from git.
  • Exclude forms folder from git.
  • Exclude users folder from git.
  • Create a private or public repo on github.com when the GH CLI is installed (this is really useful imo).

I would be happy if this stuff would move to the Statamic CLI because it would benefit everyone installing Statamic. Feel free to use it.

robdekort avatar Apr 17 '24 11:04 robdekort