Skip to content

Instantly share code, notes, and snippets.

@Inkimar
Last active September 16, 2019 07:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Inkimar/cd334ef0c379d783d2c369c715aab688 to your computer and use it in GitHub Desktop.
Save Inkimar/cd334ef0c379d783d2c369c715aab688 to your computer and use it in GitHub Desktop.
git, git clone , cloning a single branch , clone branch
pattern:
git clone -b branch --single-branch git://github/repository.git
example:
git clone -b ingimar/version_3.18.1 --single-branch https://github.com/DINA-Web/seqdb-docker.git
ex:
git clone -b spring/version-3.28.1 --single-branch https://github.com/DINA-Web/seqdb-docker.git
git clone -b version-3.35 --single-branch https://github.com/DINA-Web/seqdb-docker.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment