Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Version Control/
Git
Git
/Git CLI/Git HEAD Command/
git checkout
Search
git checkout

git checkout

Creator
Creator
Seong-lae Cho
Created
Created
2019 Nov 5 3:14
Editor
Editor
Seong-lae Cho
Edited
Edited
2022 Jul 8 6:4
Refs
Refs
git reflog

HEAD가 가르키는 것(브랜치나 버전)을 바꾼다

checkout is deprecated to
git restore
+
git switch
 

same

이렇게 하는 이유는 Subversion과는 다르게 git같은 경우는 여러개의 원격저장소를 연결할 수 있고 그중에는 브랜치명이 겹칠 수도 있기 때문으로 보입니다.
 
t is tracking b is branch

origin

 
 
Reset VS Checkout - GIT4 - Reset & Revert
비슷한듯 다른 기능인 git reset과 git checkout을 비교함으로서 각각의 기능에 대해서 더 잘 이해해보는 시간입니다. git reset : 브랜치가 가르키는 버전을 바꾼다. git checkout : HEAD가 가르키는 것(브랜치나 버전)을 바꾼다. reset vs checkout 의 이론적인 비교 reset vs checkout 의 비교 실습 reset과 checkout을 댓글로 설명해보세요.
Reset VS Checkout - GIT4 - Reset & Revert
https://opentutorials.org/module/4032/24532
Reset VS Checkout - GIT4 - Reset & Revert
 
 
 

Table of Contents
HEAD가 가르키는 것(브랜치나 버전)을 바꾼다sameorigin

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Version Control/
Git
Git
/Git CLI/Git HEAD Command/
git checkout
Copyright Seonglae Cho