Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiospampinato/autogit-command-push
A command for pushing to a remote.
https://github.com/fabiospampinato/autogit-command-push
autogit command push
Last synced: 3 months ago
JSON representation
A command for pushing to a remote.
- Host: GitHub
- URL: https://github.com/fabiospampinato/autogit-command-push
- Owner: fabiospampinato
- License: mit
- Archived: true
- Created: 2018-10-17T22:35:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T20:28:05.000Z (almost 5 years ago)
- Last Synced: 2024-07-24T18:54:40.602Z (3 months ago)
- Topics: autogit, command, push
- Language: TypeScript
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Autogit Command - Push
A command for pushing to a remote.
## Install
```sh
npm install --save autogit-command-push
```## Usage
#### Options
This command uses the following options object:
```js
{
remote: 'origin', // The remote to push to
branch: '' // The branch to push to, if not set the current branch will be used
}
```#### Configuration
Add this command to your configuration:
```js
const push = require ( 'autogit-command-push' );module.exports = {
commands: {
push: push ({ /* YOUR OPTIONS */ })
}
}
```#### CLI
Call it from the CLI with:
```sh
autogit push
```## License
MIT © Fabio Spampinato