Friday, August 26, 2022

git branch is behind master

git pull origin master

git push origin branch-name

git checkout master

git merge new

git checkout -b <branch-name> // create a branch and switch to the branch

git branch <branch-name> // create a branch only

https://git-scm.com/docs/git-branch

No comments:

Post a Comment