Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by platform.codingnomads.co #
 
PREVIOUS NEXT
Tagged: #git #change #branch
ADD COMMENT
Topic
Name
2+8 =