repo_new_gh

This function will create and checkout a new private GitHub repository from a GitHub template repository with the given name.

You should change the template being used:

zfunc/repo_new_gh
- readonly template='sdavids/sdavids-project-template'
+ readonly template='my-github-user/my-template'

This script uses Git commit signing if user.signingKey is set in the global Git configuration.

Sometimes GitHub is slow or you have bad latency. In that case you need to increase the time used to wait between GitHub interactions:

zfunc/repo_new_gh
wait_for_github=10

Usage

$ repo_new_gh my-new-repo

Prerequisites