Posts tagged “git”

20220405T142655

5 April 2022

TIL you can clone a specific branch with git.

git clone -b my-branch --single-branch git@github.com:user/myproject.git



20211129T212900

29 November 2021

TIL you can switch back to the previous branch by running git switch -.