"Git reflog"의 두 판 사이의 차이

 
(다른 사용자 한 명의 중간 판 하나는 보이지 않습니다)
4번째 줄: 4번째 줄:
==실습==
==실습==
*사전작업: [[git reset]] 실습
*사전작업: [[git reset]] 실습
<source lang='cli'>
<source lang='console'>
root@zetawiki:~/workspace/hello# git log
root@zetawiki:~/workspace/hello# git log
commit 6b0347639d7cb7a6a2f9d9c2eb239c66f152562a
commit 6b0347639d7cb7a6a2f9d9c2eb239c66f152562a
12번째 줄: 12번째 줄:
     hello world!
     hello world!
</source>
</source>
<source lang='cli'>
<source lang='console'>
root@zetawiki:~/workspace/hello# git reflog
root@zetawiki:~/workspace/hello# git reflog
6b03476 HEAD@{0}: reset: moving to 6b03476
6b03476 HEAD@{0}: reset: moving to 6b03476
21번째 줄: 21번째 줄:


==같이 보기==
==같이 보기==
*[[Git 로그 24시간 이내 이력 보기]]
*[[git log]]
*[[git log]]
*[[git reset]]
*[[git reset]]

2017년 1월 18일 (수) 01:05 기준 최신판

1 개요[ | ]

git reflog

2 실습[ | ]

root@zetawiki:~/workspace/hello# git log
commit 6b0347639d7cb7a6a2f9d9c2eb239c66f152562a
Author: gituser1 <gituser1@zetawiki.com>
Date:   Wed Mar 2 00:09:16 2016 +0900

    hello world!
root@zetawiki:~/workspace/hello# git reflog
6b03476 HEAD@{0}: reset: moving to 6b03476
c88bffe HEAD@{1}: commit: good morning!
6b03476 HEAD@{2}: commit (initial): hello world!
→ reset 이력까지 확인 가능

3 같이 보기[ | ]

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