An open API service indexing awesome lists of open source software.

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

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'...
...
```