<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>저장소 on letmecompile</title><link>https://www.letmecompile.com/tag/%EC%A0%80%EC%9E%A5%EC%86%8C/</link><description>Recent content in 저장소 on letmecompile</description><image><title>letmecompile</title><url>https://www.letmecompile.com/images/default-og-image.png</url><link>https://www.letmecompile.com/images/default-og-image.png</link></image><generator>Hugo -- 0.148.1</generator><language>ko-kr</language><lastBuildDate>Sun, 11 Mar 2018 15:03:34 +0000</lastBuildDate><atom:link href="https://www.letmecompile.com/tag/%EC%A0%80%EC%9E%A5%EC%86%8C/index.xml" rel="self" type="application/rss+xml"/><item><title>깃(Git) 에서 유실된 커밋(commit) 복원하기</title><link>https://www.letmecompile.com/git-restore-lost-commits/</link><pubDate>Sun, 11 Mar 2018 15:03:34 +0000</pubDate><guid>https://www.letmecompile.com/git-restore-lost-commits/</guid><description>&lt;p>깃(Git)을 이용하여 작업을 하다가 리베이스(rebase) 실수 또는 잘못된 명령어나 조작 실수 등 다양한 이유로 인해 자신의 피땀눈물이 담긴 커밋(commit)들을 날려먹는 경우가 은근히 있다. remote에 push해서 백업을 만들어놓고 로컬에서만 작업했으면 다시 remote 저장소에서 받아오면 되지만, 그렇지도 않은 경우에는 어떻게 이 지워진 커밋들을 다시 읽어오거나 복원할 수 있을까?&lt;/p>
&lt;p>다행히도 한번이라도 commit이 된 내용이라면, 심지어 현재 보이는 git tree 상에 보이지 않는 commit들 까지도 local git repository안에 commit log들이 남아 있다. 덕분에 이를 검색해서 해당 commit 상태로 복원 할 방법이 존재한다.&lt;/p></description></item></channel></rss>