Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

duplicate clone remote branch locally git

git checkout -b <new_local_branch_name> <remote>/<remote_branch_name>
// example
git checkout -b my_branch origin/my_branch
Comment

PREVIOUS NEXT
Code Example
Shell :: bash input 
Shell :: next upgrade 
Shell :: How do I sync local and remote branches? 
Shell :: angular bootstrap 
Shell :: directory structure 
Shell :: how to make file in powershell 
Shell :: make shortcut folder in htdocs 
Shell :: ubuntu timestamp 
Shell :: run mongodb on desktop 
Shell :: linux check if using wayland or x11 
Shell :: kill process from pid 
Shell :: error: src refspec master does not match any heroku 
Shell :: undo a git merge 
Shell :: random color npm 
Shell :: conda install pytorch 
Shell :: enable ssh ubuntu 
Shell :: how to hide hostname mac terminal 
Shell :: 10250: connect: no route to host kubernetes 
Shell :: find node install location windows 
Shell :: ssh-copy powershell 
Shell :: brew uninstall 
Shell :: download homebrew windows 
Shell :: wsl ubuntu git status and the file are not staged 
Shell :: create branch based to other branch ex. master 
Shell :: linux create executable 
Shell :: git pull with ssh 
Shell :: open a pdf on linux 
Shell :: another apache web server is running 
Shell :: install glfw debian 
Shell :: reinstall nvidia drivers pop os 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =