Tuesday, 2 February 2021

Git branches

command local remote
Show all branches git branch -a git branch -r
Branch details git branch -vva git branch -vv
create a new branch & check it out git checkout -b {branchName} -
Create a new branch git branch {branchName} -
Merge branches git merge {branchName} -