Mi Lugarcito

GIT - 특정 branch pull & push 본문

GIT

GIT - 특정 branch pull & push

selene park 2021. 10. 22. 19:24

 

git checkout -b 브런치이름

//firt do commit -> do pull -> do push
git add . or git add --all
git commit -m "message"
git pull origin "branch name"
git push origin "branch name"

 

//git pull
git pull origin <branch 이름>



//git branch 생성 후 특정 branch로 push 하기
git init
git remote add origin https://github.com/~.git
git pull origin 브런치이름
git checkout -b 브런치이름
git add .
git commit -m "어쩌구"
git push origin 브런치이름

https://velog.io/@clubmed2/Git-branch%EC%83%9D%EC%84%B1-%ED%9B%84-push%ED%95%98%EA%B8%B0

 

[Git] branch생성 후 push하기

git initgit remote add origin https://github.com/~.gitgit pull origin 브런치이름git checkout -b 브런치이름git add .git push origin 브런치이름

velog.io

https://info-lab.tistory.com/118

 

[Git] Git 특정 Branch Pull 하기

Git을 이용하여 프로젝트 관리시 Master가 아닌 Develop으로 생성하여 개발 후 Test 를 위해 Git Pull이 필요한 경우가 있다. Develop과 같이 특정 Branch(브랜치)를 Pull 하는 방법을 알아보도록 하자. $ git ..

info-lab.tistory.com