Answers for "how to change branch in local git repo"

2

change branch git

git checkout <branch_name>
Posted by: Guest on December-16-2020
3

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
Posted by: Guest on July-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language