JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 211
  • Score
    100M100P100Q92919F
  • License MIT

Yeoman generator for simply `git init` and optional `init` commit

Package Exports

  • generator-git-init
  • generator-git-init/generators/app

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generator-git-init) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

generator-git-init

NPM version Build Status Dependency Status

Yeoman generator for simply git init and optional init commit.
Works great with other generators too.

Install

npm install --global yo generator-git-init

Usage

yo git-init

# standard `init` commit message
yo git-init -c
yo git-init --commit

# custom `init` commit message
yo git-init --commit='Awesome project start'

Composability

Composability is a way to combine smaller parts to make one large thing. Sort of like Voltron®
Yeoman docs

Just plug in git-init into your generator and let it initialize git for you. Everybody wins.

Install

npm install --save generator-git-init

Compose

this.composeWith('git-init', {}, {
  local: require.resolve('generator-git-init')
});

Or with custom initial commit message:

this.composeWith('git-init', {
  options: { commit: 'your awesome project' }
}, {
  local: require.resolve('generator-git-init')
});

Add this lines to your .travis.yml to calm down your Travis builds:

before_script:
  - 'git config --global user.email "you@example.com"'
  - 'git config --global user.name "Your Name"'

License

MIT © Vladimir Starkov