Skip to content

nirajpandkar/git-tip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-tip Build Status

CLI that gives a random git-tip.

The git-tips JSON file is taken from this awesome project - git-tips Any suggestion/criticism/PRs are welcome :)

alt text

wget dependency for Windows and Mac Users

Mac

$ brew install wget

Windows

Download and install wget

Install

$ npm install --global git-tip

Script to greet yourself with a git-tip every time a new terminal opens

which git-tip >> ~/.bashrc

Usage

  Usage
      $ git-tip [options]
  Options
      --help    Provides usage help (Shows the current page)
      --all     Gives all the git tips
      <keyword> Gives the git tips consisting of the keyword
  Examples
      $ git-tip bypass

      1. Bypass pre-commit and commit-msg githooks
      => git commit --no-verify

      $ git-tip

      Git Tip of the Terminal
      -------------------------
      Saving current state of tracked files without commiting
      => git stash

Todo

  • Basic Functionality
  • Help page
  • Add continuous integration(Travis CI)
  • Add tests
  • Add more relevant tests to increase code coverage
  • Code coverage
  • Add code coverage reports
  • Script to automatically update tips.json file when installing globally from npm
  • Script to execute git-tip every time a new terminal opens
  • Add wget's necessity before installation in the README.

License

MIT © Niraj Pandkar

About

CLI that gives a random git-tip.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published