Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiospampinato/autogit-command-pull
A command for pulling from a remote.
https://github.com/fabiospampinato/autogit-command-pull
autogit command pull
Last synced: about 2 months ago
JSON representation
A command for pulling from a remote.
- Host: GitHub
- URL: https://github.com/fabiospampinato/autogit-command-pull
- Owner: fabiospampinato
- License: mit
- Archived: true
- Created: 2018-10-17T22:31:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T20:28:08.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T05:24:41.651Z (2 months ago)
- Topics: autogit, command, pull
- 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 - Pull
A command for pulling from a remote.
## Install
```sh
npm install --save autogit-command-pull
```## Usage
#### Options
This command uses the following options object:
```js
{
remote: 'origin', // The remote to pull from
branch: '' // The branch to pull from, if not set the current branch will be used
}
```#### Configuration
Add this command to your configuration:
```js
const pull = require ( 'autogit-command-pull' );module.exports = {
commands: {
pull: pull ({ /* YOUR OPTIONS */ })
}
}
```#### CLI
Call it from the CLI with:
```sh
autogit pull
```## License
MIT © Fabio Spampinato