Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@dataf3l/g

dataf3l51.0.0

Use instead of git.

readme

g

Use instead of git.

Usage:

    g add file
    g add .
    g commit -m "message"
    g push origin branch-name
    g log

Demo

asciicast

You can also alias git to g, so that it's easy.

Features

if the file is a js file, it will try to validate the syntax before adding it to the repo, if the file has bad syntax, it will not be added to the repo.

Supported Languages

  • Javascript (via node)
  • Go (via gofmt)

Upcoming

  • Maybe CSS, php, etc.

Installation:

put it on a file in your machine and later ad this line to bashrc:

export PATH=$PATH:/place/where/you/put/the/command