how to swap branch git
[git checkout "branch_name"]
is another way to say:
[git checkout -b branch_name origin/branch_name]
in case "branch_name" exists only remotely.
[git checkout -b branch_name origin/branch_name] is useful in case you have multiple remotes.
Regarding [git checkout origin 'another_branch'] I'm not sure this is possible, AFAK you can do this using "fetch" command -- [git fetch origin 'another_branch']
Also in Shell:
- how to run a create-react-app server
- powershell foreach
- virtualbox kernel driver not installed ubuntu
- how to start nginx in linux
- kubernetes copy files to persistent volume
- How to find your ip on debian linux wsl
- start-process id powershell
- how to check if ip is up bash script
- xcode errSecInternalComponent
- change user linuxcommand ch
- git refusing to merge unrelated histories
- mac cleanup github
- raspberry wifi scan
- powershell start a process and wait for it to finish
- install dateutil
- how do i clone a specific branch in git
- how to unadd gitr file
- how to know partition of current directory
- grep docker logs
- bash ls all subdirectories
- disable monitor on boot linux
- update pip
- install vuex
- git merge branch to master