https://github.com/nflaig/github-init-cli
Create remote and local git repository
https://github.com/nflaig/github-init-cli
cli create git github
Last synced: 4 months ago
JSON representation
Create remote and local git repository
- Host: GitHub
- URL: https://github.com/nflaig/github-init-cli
- Owner: nflaig
- License: mit
- Created: 2019-12-27T21:17:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T22:47:49.000Z (over 1 year ago)
- Last Synced: 2025-10-13T05:59:47.624Z (8 months ago)
- Topics: cli, create, git, github
- Language: JavaScript
- Size: 216 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-init-cli
Create remote and local git repository
[![npm package][npm-version-badge]][npm-package]
## Install
```sh
$ npm install -g github-init-cli
```
## Usage
Log in with your GitHub username and [personal access token][personal-access-tokens] (will be persisted locally).
Make sure that the access token has permissions (`repo`, `delete_repo`) to create (required) and delete (optional) repositories.
```sh
$ github login
```
Set custom working directory (default: `~/github`)
```sh
$ github setwd
```
Create remote and local git repository
```sh
$ github create
```
If installed, the project will be opened with [VS Code][vs-code].
## Contributing
[![contributions welcome][contributions-badge]][issues]
## License
This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.
[issues]: https://github.com/nflaig/github-init-cli/issues
[npm-package]: https://www.npmjs.com/package/github-init-cli
[npm-version-badge]: https://badge.fury.io/js/github-init-cli.svg
[contributions-badge]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
[personal-access-tokens]: https://github.com/settings/tokens
[vs-code]: https://code.visualstudio.com/