git checkout

1 개요[ | ]

git checkout
깃 체크아웃
  • 브랜치를 전환하거나, 작업트리파일을 원복하는 git 명령어

2 실습 1[ | ]

git checkout 기존브랜치명

3 실습 2[ | ]

root@zetawiki:~/workspace/hello# cat greet.txt
hello world
good morning
root@zetawiki:~/workspace/hello# git checkout HEAD greet.txt
root@zetawiki:~/workspace/hello# cat greet.txt
hello world

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}