Horje
git switch branch Code Example
git switch branch
git switch branch_name

git checkout branch_name 
create new git branch and switch to it
git checkout -b mybranch 
how to switch branches in git
- git checkout branch_name --> goes to branch that already exists
- git checkout -b <branch_name> --> creates a new branch and switches to it.
git change branch
git switch <branch_name>	 // switches to branch

git checkout <branch_name> 	// deletes file that were not pushed and just copies the branch to local repo
Create and Switch to a Branch
$ git checkout -b <new branch>




Shell

Related
undo most recent commit Code Example undo most recent commit Code Example
Bash colour codes Code Example Bash colour codes Code Example
kill process unix Code Example kill process unix Code Example
find and kill process Code Example find and kill process Code Example
kill pid Code Example kill pid Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10