Skip to content

igniter.new: Don't run git init if already in git repo#328

Merged
zachdaniel merged 2 commits intoash-project:mainfrom
jakobsen:git-init-patch
Aug 15, 2025
Merged

igniter.new: Don't run git init if already in git repo#328
zachdaniel merged 2 commits intoash-project:mainfrom
jakobsen:git-init-patch

Conversation

@jakobsen
Copy link
Copy Markdown
Contributor

@jakobsen jakobsen commented Aug 15, 2025

Skip running git init if the project is created inside a git repo. If the IGNITER_SKIP_GIT_CHECK environment variable is set to "true" the check is not performed, and git init will run unless the --no-git option is passed.

Resolves #327.

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@jakobsen jakobsen changed the title Don't run git init if already in git repo igniter.new: Don't run git init if already in git repo Aug 15, 2025
@jakobsen jakobsen marked this pull request as ready for review August 15, 2025 18:08
@zachdaniel zachdaniel merged commit 924a724 into ash-project:main Aug 15, 2025
@zachdaniel
Copy link
Copy Markdown
Contributor

🚀 Thank you for your contribution! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git init should not run if already in git project

2 participants