Socket
Socket
Sign inDemoInstall

foo

Package Overview
Dependencies
442
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    foo

An opinionated git cli for oss


Version published
Weekly downloads
555
increased by59.94%
Maintainers
2
Install size
29.9 MB
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 01 Nov 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc