GitHub publishing#
After a successful creation, if Git was enabled, Spawn asks:
Publish to GitHub? [y/N]: y
Repository URL: https://github.com/your-username/my-projectSupported URL formats: https://github.com/user/repo, https://github.com/user/repo.git, git@github.com:user/repo.git.
Spawn stages all files, creates the initial commit, renames the branch to main, adds the remote, and pushes.
The repository must already exist on GitHub. Spawn connects to it; it does not create it.
In non-interactive mode or when --yes / -y is passed, the publish prompt is skipped automatically.
A failed publish does not delete an already generated project. Review the generated files before choosing to publish.