Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 911 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 911 Bytes

Github-Init

![Made at the Recurse Center][made-at-badge] [made-at-badge]: http://img.shields.io/badge/Made_At-The_Recurse_Center-brightgreen.svg

Like git init, but use defaults from github

If you put the script file onto your path somewhere, then you can also make this a git alias like so:

git config --global alias.gh-init '!github-init.sh'

Now you can run git gh-init <name> and you'll shortly have a new repository, initialized and cloned from Github.

usage: github-init.sh [-higl] repo-name [repo-description]
  -h                      Display this help
  -i                      Initialize repo with a README
  -g <ignore template>    Initialize repo with a gitignore file
  -l <license template>   Initialize repo with a license

You can also use github-delete.sh to delete repositories from github.

usage: github-delete.sh repo-name