https://github.com/alexdriaguine/create-git-repo
A script to create git repos
https://github.com/alexdriaguine/create-git-repo
create git github repository
Last synced: 4 months ago
JSON representation
A script to create git repos
- Host: GitHub
- URL: https://github.com/alexdriaguine/create-git-repo
- Owner: alexdriaguine
- License: mit
- Created: 2017-01-12T16:00:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T05:39:32.000Z (over 7 years ago)
- Last Synced: 2025-04-21T18:43:58.670Z (about 1 year ago)
- Topics: create, git, github, repository
- Language: TypeScript
- Size: 188 KB
- Stars: 5
- Watchers: 0
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-git-repo
Create github repositories with ease.
## Installation
### Using Yarn
`yarn global add git-repo-create`
### Using NPM
`npm install --global git-repo-create`
### Using NPX
`npx git-repo-create repo-name`
Make sure you change repo-name to your new repository name
## Usage
* `git-repo-create Hello`
If you don't want to be prompted for password all the time, create an [access token on github](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) with the right to create repositories
and export it as an enviroment variable aswell as your github username.
```sh
# In .bashrc or equivalent
export GITHUB_USERNAME="xxxxxxx"
export GITHUB_CREATE_REPO_ACCESS_TOKEN=xxxxx
```
To be able to push to github without being prompted for username/password, [set up git to use SSH](https://help.github.com/articles/connecting-to-github-with-ssh/)