Programming

create git branch

seoca 2021. 2. 27. 15:13

 

git status //check the git status
git pull origin 'branch이름'

git checkout -b "branch name" // with '-b', you can create a new branch and checkout at the same time

git add .
git commit -m "message"
git push origin 'branch이름'

 

git checkout master

git pull