Git 사용 팁
![nailhae](https://cdn.hashnode.com/res/hashnode/image/upload/v1656633672689/zQ9WfTS2f.jpeg)
1 min read
Table of contents
![](https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/842ofHC6MaI/upload/563a66ce08647e0c6dba260a50626f53.jpeg)
부모 branch에 update 된 내용을 개발 중인 branch에 업데이트 하는 방법
DEV_BRANCH
에서 시작
git stash
현재 작업 내용을 임시 저장git switch PARENT_BRANCH
부모 branch로 이동git pull
최신 내용으로 업데이트git switch DEV_BRANCH
개발 중이던 branch로 이동git rebase PARENT_BRANCH
부모 branch의 업데이트된 내용을 개발 중인 branch에 반영git stash pop
임시 저장한 작업 내용을 불러옴
0
Subscribe to my newsletter
Read articles from nailhae directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
![nailhae](https://cdn.hashnode.com/res/hashnode/image/upload/v1656633672689/zQ9WfTS2f.jpeg)