generator-yag-git
v0.1.1
Published
Generator for Yeoman to init and config a project for Git
Downloads
5
Maintainers
Readme
generator-yag-git
Yet Another Generator for Yeoman to init and config a project for Git.
- Initializes a Git repository
- Adds a Git remote if found in package.json
- Adds a
.gitattributes
file - Adds a
.gitignore
file
Installation
Install Yeoman and generator-yag-git
globally with npm:
npm install -g yo
npm install -g generator-yag-git
Then initialize and configure project for Git:
mkdir my-project
cd my-project
npm init
yo yag-git
# Initialized empty Git repository in /Users/thanos/Dev/my-project/.git/
# Added Git remote [email protected]:alefteris/my-project.git
# create .gitattributes
# create .gitignore