Socket
Socket
Sign inDemoInstall

g4c

Package Overview
Dependencies
22
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.2.0

2

package.json

@@ -13,3 +13,3 @@ {

},
"version": "1.1.1",
"version": "1.2.0",
"license": "GPL-3.0",

@@ -16,0 +16,0 @@ "scripts": {

# g4c - Git for Cloud
A basic pure js git CLI implementation based on isomorphic-git.
<!--p align="center">
<a href="https://feathersjs.com" target="_blank" rel="noopener noreferrer">
<img width="180" src="https://raw.githubusercontent.com/feathersjs/feathers/2b89e0b7fceb42f92c9139f16f3291fa3ff560f1/docs/public/feathersjs.svg" alt="Feathers logo">
</a>
</p-->
<br/>
<p align="center">
A basic pure js git CLI implementation based on isomorphic-git.<br>
<a href="https://stackblitz.com/fork/g4c-demo"><img src="https://developer.stackblitz.com/img/open_in_stackblitz.svg" alt="Open in StackBlitz"></a>
<!--a href="https://replit.com/new/github/feathersjs/playground"><img src="https://replit.com/badge/github/feathersjs/playground" alt="Run on Repl.it"></a-->
</p>
<br/>
- [Issue tracker](https://gitlab.com/vblip/g4c/-/issues)

@@ -10,5 +23,8 @@ - [Merge requests](https://gitlab.com/vblip/g4c/-/merge_requests)

## Commands supported
```sh
- g4c clone URL
- g4c clone URL DIRECTORY
- g4c clone # (automatically clones from package.json, or secrets file)

@@ -22,6 +38,11 @@ - g4c checkout --force HEAD

- g4c push
```
**TODO:**
- g4c add FILE
```sh
- git # As an alias, comming soon
- g4c add FILE(s)
- g4c add .
```

@@ -31,12 +52,17 @@

`npm i -D g4c`
- `npm i -D g4c`
- `npm i -g g4c` -- Global install
<!--
`npx g4c` or `npx git` will work at that point.
In stackblitz `git` and `g4c` both work as node_modules/.bin is in the path.
-->
### Configuration Precedence
- First the long form package.json -> repository field is read
- Then, package.json g4c
- First, the long form package.json -> repository field is read
- Then, package.json -> author field is read for email and name
- Then, package.json -> g4c
- Finally, SECRETS.g4c.json can veto all others
- Unless, yoy provided an argument in the command line

@@ -43,0 +69,0 @@ All of these are optional:

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc