https://github.com/windomz/gitinit
A cli tool, easy way to 'git init' a new repository.
https://github.com/windomz/gitinit
git git-init go golang
Last synced: 3 months ago
JSON representation
A cli tool, easy way to 'git init' a new repository.
- Host: GitHub
- URL: https://github.com/windomz/gitinit
- Owner: WindomZ
- License: mit
- Created: 2017-03-28T08:15:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-08T06:42:16.000Z (almost 9 years ago)
- Last Synced: 2025-02-15T07:42:08.575Z (12 months ago)
- Topics: git, git-init, go, golang
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitinit
[](https://travis-ci.org/WindomZ/gitinit)
[](https://opensource.org/licenses/MIT)


A cli tool, easy way to `git init` a new repository.
## Features
- [x] `gitinit --init` - create an empty Git repository or reinitialize an existing one
- [x] `gitinit --bare` - create a bare repository
- [x] `gitinit --origin=REPO` - manage *origin* repository to `REPO`
## Usage
```bash
$ gitinit -h
A cli tool, easy way to 'git init' a new repository.
Usage:
gitinit (-i|--init) [--origin=REPO]
gitinit -b|--bare
gitinit --origin=REPO
gitinit -h|--help
gitinit -v|--version
Options:
-i --init create an empty Git repository or reinitialize an existing one
-b --bare create a bare repository
--origin=REPO
reset 'origin' repository to 'REPO'
-h --help show help message
-v --version show version
```
## License
The [MIT License](https://github.com/WindomZ/gitinit/blob/dev/LICENSE)