Skip to content

Install clone bash script #1

@sorens

Description

@sorens

A clone script will allow you to easily clone directories into an organized directory with other git cloned code

#!/bin/bash

function gitcmd() {
	local REPO="$1"
	hub clone git@github.com:$REPO.git $HOME/src/github.com/$REPO
}

gitcmd $*

There should be an easy way to install this script into ~/bin.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions