inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

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
  • github
  • restore
  • 버전관리시스템
쏭쏭 댓글 1 좋아요 0 조회수 2451

인기 태그

인프런 TOP Writers

주간 인기글