https://github.com/mittalyashu/gistash
Upload your local changes or stashed files to GitHub Gist
https://github.com/mittalyashu/gistash
cli cli-app cli-command cli-tool cli-utilities code-sharing command-line git git-stash github-gist hacktoberfest nodejs sharing
Last synced: 3 months ago
JSON representation
Upload your local changes or stashed files to GitHub Gist
- Host: GitHub
- URL: https://github.com/mittalyashu/gistash
- Owner: mittalyashu
- License: mit
- Created: 2020-07-24T05:26:17.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T10:01:11.000Z (over 2 years ago)
- Last Synced: 2024-05-01T17:13:03.804Z (about 1 year ago)
- Topics: cli, cli-app, cli-command, cli-tool, cli-utilities, code-sharing, command-line, git, git-stash, github-gist, hacktoberfest, nodejs, sharing
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/gistash
- Size: 160 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Gistash
Upload your local changes or stashed files to GitHub Gist.## π§ About
Gistash is a CLI tool that lets you save your local changes or stashed file to GitHub gist.
The whole concept of `git-stash` to stash the changes in a dirty working directory away.
There is no option to share your stashed file with other conbtributors.
## π‘ Features
* π Upload multiple files at once
* β± Reports each step
* π Safely storing your GitHub token on your local machine
* π Public or private gist
* π Copy url to clipboard or open in browser
* β Maintained## π° Installation
**npm**
```
$ npm i -g gistash
```**yarn**
```
$ yarn global add gistash
```## πΆπ»ββοΈ Usage
```
$ gistash --helpUpload your local changes or stashed files to GitHub Gist.
Usage
$ gistashOptions
-p, --public Set GitHub gist as public (default: false)
-c, --copy Copy GitHub gist url to clipboard (default: false)
-o, --open Open GitHub gist url in browser
-m, --message GitHub gist description
-v, --version gistash CLI version
-h, --help Showing all available commands
```**Example**
```
$ gistash ./hello-world.js --open --public
```* Upload `hello-world.js` file
* Set gist to public using `--public`
* Open in browser with `--open`## ππ» Credits
- [CodeCarrot](https://www.codecarrot.net/)