Skip to content

Instantly share code, notes, and snippets.

@dbb
Created July 10, 2015 19:35
Show Gist options
  • Save dbb/93e4170bfcc09641eab7 to your computer and use it in GitHub Desktop.
Save dbb/93e4170bfcc09641eab7 to your computer and use it in GitHub Desktop.

Orig:

'git' 'clone' '--' '--branch=1.0-1' 'https://bitbucket.org/telemachus/tapered.git' 'tapered'

New:

git clone --branch=1.0-1 -- https://bitbucket.org/telemachus/tapered.git tapered

Ref:

'git clone' [--template=<template_directory>]
	  [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
	  [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
	  [--dissociate] [--separate-git-dir <git dir>]
	  [--depth <depth>] [--[no-]single-branch]
	  [--recursive | --recurse-submodules] [--] <repository>
	  [<directory>]

http://git-scm.com/docs/git-clone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment