git checkout 과 git switch/restore
미해결
빠르게 git - 핵심만 골라 배우는 Git/Github
안녕하세요. git checkout이 git switch, git restore로 대체된 것으로 나오는데, 어떤 상황에서 git switch나 git restore를 써야하는지 그 차이에 대해서 설명을 해주실 수 있을까요? #차이점1 checkout: Switch branches or restore working tree files switch: Switch branches restore: Restore working tree files #차이점2 switch --- local 에 있는 브랜치로만 이동 가능 checkout --- remote에 있는 브랜치로도 이동 가능 #reference https://git-scm.com/docs/git-checkout https://git-scm.com/docs/git-switch https://git-scm.com/docs/git-restore 감사합니다.
- checkout
- git
- switch
- restore
- github
- 버전관리시스템
쏭쏭
댓글 1
좋아요 0
조회수 2451





