clone-certain-branch
Published at 2024-04-22
Last update over 365 days ago
Licensed under CC BY-NC-SA 4.0
softwares-and-tools
git
clone
https://stackoverflow.com/questions/1911109/how-do-i-clone-a-specific-git-branch
git clone -b <branch> <remote_repo>
git clone -b my-branch [email protected]:user/myproject.git