foo
An opinionated git cli for oss
Last updated 2 years ago by jasonlaster11 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install foo 
SYNC missed versions from official npm registry.

Foo

An opinionated git cli for OSS.

How to install

npm install -g foo | yarn global add foo

Checkout

Gets a remote branch. This will add a remote origin if it does not exist, fetches it and checkouts the specified PR branch.

foo checkout <id|url|branch>
foo co <id|url|branch>
  • branch - The username and branch e.g @[user]/[branch] or @[user]:[branch]
  • id - The pull request id e.g 4381 or #4381 (in development)
  • url - The pull request url e.g https://github.com/devtools-html/debugger.html/pull/4381 (in development)

Diff

Shows changes between commits, commit and working tree, etc

foo diff

Log

Shows the commit logs.

foo log

Push

Pushes your local branch to GH, regardless of remote.

foo push

Todo

  • delete delete local branches
  • remote add a new remote
  • new create a new branch
  • update update a branch
  • squash squash local commits

Current Tags

  • 0.0.7                                ...           latest (2 years ago)

6 Versions

  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 1.0.0                                ...           8 years ago

Copyright 2014 - 2016 © taobao.org |