https://github.com/casey/remote
📡 Generate remote repository strings
https://github.com/casey/remote
Last synced: 4 months ago
JSON representation
📡 Generate remote repository strings
- Host: GitHub
- URL: https://github.com/casey/remote
- Owner: casey
- Created: 2017-02-02T05:17:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T03:10:10.000Z (about 8 years ago)
- Last Synced: 2025-11-20T02:22:13.903Z (7 months ago)
- Language: Rust
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
remote v1.0.0
Casey Rodarmor
Generate remote repo URLs - https://github.com/casey/remote
USAGE:
remote
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
[possible values: bitbucket-hg, bitbucket-https, bitbucket-ssh, github-https, github-ssh, gitlab
-https, gitlab-ssh, pikacode-https, pikacode-ssh]
DESCRIPTION:
A little program that prints repository URLs.
On its own it does not save a great deal of typing, but you can create
aliases in your shell's configuration file like so:
alias github=`remote github-ssh gazebo`
alias bitbucket=`remote bitbucket-ssh gazebo`
Assuming you have the username `gazebo` on both github and bitbucket, you
can then clone your own repositories easily:
$ git clone `github foo`
Cloning into 'foo'...
...
Or add new remotes to existing repos:
$ git remote add `github foo`
And of course you can always use remote directly:
$ git clone `remote github-ssh rust-lang cargo`
Cloning into 'cargo'...
...
```