Skip to content

Tech Antidote

‎ | LINUX | Tech | Security |
  • Home
  • About
  • Contact
  • Privacy Policy

Tag: specific branch

How to clone a specific git branch only

Posted on by

To clone a specific remote git branch only, you could use:

git clone --single-branch -b testing https://gitlab.com/techantidote/dotfiles.git

Remote Branch cloned: testing
Git URL: https://gitlab.com/techantidote/dotfiles.git

Source: StackOverFlow

Posted in Programming, TechnologyTagged branch, git clone, one branch, specific branchLeave a Comment on How to clone a specific git branch only

Categories

  • Technology
  • Linux / Redhat
  • WordPress
  • Virtualization

Recent Comments

  • Raptor on Install Kali Linux in virtualbox (using ova file)
  • ΞXΤЯ3МΞ on Decoding IR Signals of a Blue Star Air Conditioner using an Arduino
  • Manu on Decoding IR Signals of a Blue Star Air Conditioner using an Arduino
  • ΞXΤЯ3МΞ on Tmux not displaying bash prompt colors
  • Daniel on Tmux not displaying bash prompt colors

Subscribe to this Blog

Enter your email address to follow to this blog and receive notifications of new posts via email.

Member of The Internet Defense League

Search this blog

Search Form

Proudly powered by WordPress