https://github.com/matschik/mkrep
Create your local & Github repository instantly
https://github.com/matschik/mkrep
Last synced: 4 months ago
JSON representation
Create your local & Github repository instantly
- Host: GitHub
- URL: https://github.com/matschik/mkrep
- Owner: matschik
- Created: 2022-08-18T12:24:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-16T21:27:49.000Z (almost 3 years ago)
- Last Synced: 2025-05-01T01:39:26.842Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mkrep
> Create your local & Github repository instantly
## ✅ Requirements
- NodeJS
- Git## ⚙️ Setup
1. Create a Github personal access token [here](https://github.com/settings/tokens) with the following scopes:
2. Install `mkrep`
```sh
npm i -g mkrep
```3. Create a project `mkrep create my-new-project`, CLI will ask you to enter your Github personal access token & default directory to create the new `mkrep` projects
## ✨ Usage
```sh
mkrep create my-new-project
```## 🤔 Why ?
`mkrep` automate the creation of a new Git project hosted on Github.
### Without mkrep
```sh
$ mkdir my-new-project
$ cd my-new-project
$ git init
$ npm init -y
$ git add . && git commit -m "Initial commit"# Going to Github.com to create a new repository
# Copy new repository URL$ git remote add origin git@github.com:username/my-new-project.git
$ git push -u origin main
```### With mkrep
```sh
mkrep create my-new-project
```## ⚖️ License
MIT. Made with 💖