Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johno/ggkick
Git push force shortcut with allow-empty that automatically infers the current branch. Useful for kicking failed builds.
https://github.com/johno/ggkick
Last synced: 2 months ago
JSON representation
Git push force shortcut with allow-empty that automatically infers the current branch. Useful for kicking failed builds.
- Host: GitHub
- URL: https://github.com/johno/ggkick
- Owner: johno
- License: mit
- Created: 2016-01-22T23:43:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-22T23:46:36.000Z (about 9 years ago)
- Last Synced: 2024-10-19T17:31:18.562Z (3 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# ggkick
Git push force with `--allow-empty` shortcut that automatically infers the current branch, it also doesn't allow force pushing to `master`.
Useful for kicking builds that failed for unrelated reasons.
A bash script bundled with npm.## Installation
```
$ npm i -g ggkick
```## Usage
```sh
$ ggkick
```## Acknowledgements
* Adapted and repackaged from [`oh-my-zsh`](https://github.com/robbyrussell/oh-my-zsh/blob/c82f49e734973debfcab9dd7f1a76bfd42186880/plugins/git/git.plugin.zsh#L13)
* Dependent script eval adopted from [`np`](https://github.com/sindresorhus/np/blob/d6a221c7e41fc77a9d1bc24d7425c8b85058a888/np.sh#L18)## License
MIT
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull RequestCrafted with <3 by [John Otander](http://johnotander.com) ([@4lpine](https://twitter.com/4lpine)).
***
> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).