https://github.com/jaspero/quick-remote
Command line tool for quick set up of remotes
https://github.com/jaspero/quick-remote
cli git
Last synced: 6 months ago
JSON representation
Command line tool for quick set up of remotes
- Host: GitHub
- URL: https://github.com/jaspero/quick-remote
- Owner: Jaspero
- License: mit
- Created: 2020-09-25T21:24:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-26T16:42:11.000Z (over 5 years ago)
- Last Synced: 2025-03-16T00:17:39.167Z (over 1 year ago)
- Topics: cli, git
- Language: JavaScript
- Homepage:
- Size: 43.9 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
[](https://github.com/semantic-release/semantic-release)
[](https://www.npmjs.com/package/@jaspero/quick-remote)
# Quick Remote
Quickly clone a project and add a remote to it, pulling in source from a selected branch of the remote.
This is most useful for starting new projects.
## Install
```
npm i -g @jaspero/quick-remote
```
## Example
```
qr r Jaspero/jms -p example
```
## Options
| Param | Description | Type | Default |
| ---- | ---- | ---- | ---- |
| p/project | Project to clone | string | - |
| n/name | Name for the created remote | string | defaults to repo url |
| b/branch | Branch from the remote to use | string | master |
| f/force | Adds --allow-unrelated-histories when merging remote | boolean | true |