generator-yag-git

0.1.1 • Public • Published

generator-yag-git npm version Build status Coverage status Dependency status

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 git@github.com:alefteris/my-project.git 
#    create .gitattributes 
#    create .gitignore 

License

MIT

Package Sidebar

Install

npm i generator-yag-git

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • alefteris