Autogit Command - Fetch
A command for fetching from a remote.
Install
npm install --save autogit-command-fetch
Usage
Options
This command uses the following options object:
{
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 command to your configuration:
const fetch = require ( 'autogit-command-fetch' );
module.exports = {
commands: {
fetch: fetch ({ /* YOUR OPTIONS */ })
}
}
CLI
Call it from the CLI with:
autogit fetch
License
MIT © Fabio Spampinato