Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiospampinato/autogit-plugin-fetch
A plugin for fetching from a remote.
https://github.com/fabiospampinato/autogit-plugin-fetch
autogit fetch plugin
Last synced: 3 months ago
JSON representation
A plugin for fetching from a remote.
- Host: GitHub
- URL: https://github.com/fabiospampinato/autogit-plugin-fetch
- Owner: fabiospampinato
- License: mit
- Archived: true
- Created: 2018-10-17T20:34:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T20:28:19.000Z (almost 5 years ago)
- Last Synced: 2024-05-01T12:39:08.999Z (6 months ago)
- Topics: autogit, fetch, plugin
- Language: TypeScript
- Size: 14.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 Plugin - Fetch
A plugin for fetching from a remote.
## Install
```sh
npm install --save autogit-plugin-fetch
```## Usage
#### Options
This plugin uses the following options object:
```js
{
remote: 'origin', // The remote to fetch from
branch: '' // The branch to fetch from, if not set the current branch will be used
}
```#### Configuration
Add this plugin to a command:
```js
const fetch = require ( 'autogit-plugin-fetch' );module.exports = {
commands: {
'my-command': [
fetch ({ /* YOUR OPTIONS */ })
]
}
}
```## License
MIT © Fabio Spampinato