1.0.0 • Published 9 years ago

tig-cli v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

Tig

Tig simplifies and supercharges Git workflow.

Features

  • Git aliases (add + commit + push with one command, etc)
  • Easy to understand errors in console with steps on how to fix
  • Detects and attempts to fill in
$ sudo npm install -g tig

Setup

When you create a new repo, run:

$ tig setup

This configures the Git project in package.json to be used in Tig commands.

---
Tig setup
---
Repo: (default package.json repo)
Local branch: (default master)
Remote branch: (default origin)

Add changed files, commit, and push

$ tig push "readme changes"

Options

Changes a variable already set during $ tig setup Example usage: tig push -r https://github.com/afang/tig -b dev -rb dev

optionusage
-rsets the repo url
-bsets the local branch
-rbsets the remote branch