<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>&#20170;&#12398;&#12467;&#12511;&#12483;&#12488;&#38291;&#36949;&#12387;&#12383;&#8213;&#65281;&#12392;&#12356;&#12358;&#12392;&#12365;&#12395;&#12289;&#12467;&#12511;&#12483;&#12488;&#20869;&#23481;&#12418;&#12394;&#12375;&#12395;&#12375;&#12390;&#25147;&#12377;&#12398;&#12364;**git-reset --hard**&#12290;

&gt;git reset --hard HEAD~3  
&gt;Rewind the master branch to get rid of those three commits.   
http://www.kernel.org/pub/software/scm/git/docs/git-reset.html

&#19968;&#12388;&#21069;&#12398;&#12467;&#12511;&#12483;&#12488;&#12414;&#12391;&#25147;&#12427;&#26178;&#12399;&#12289;**HEAD^**&#12434;&#24341;&#25968;&#12395;&#28193;&#12377;&#12392;&#25147;&#12387;&#12390;&#12367;&#12428;&#12414;&#12377;&#12290;
&#12354;&#12540;&#12424;&#12363;&#12387;&#12383;&#65281;
</body>
  <cached-tag-list>git</cached-tag-list>
  <comments-count type="integer">0</comments-count>
  <created-at type="datetime">2008-07-09T15:35:25+00:00</created-at>
  <daily-archive-id type="integer">641</daily-archive-id>
  <filter-type>blue_stole</filter-type>
  <id type="integer">661</id>
  <monthly-archive-id type="integer">64</monthly-archive-id>
  <pdf-digest nil="true"></pdf-digest>
  <permalink>/articles/661</permalink>
  <published-at type="datetime">2008-07-09T15:35:00+00:00</published-at>
  <secret>d089057b-2e8f-477c-bb02-ccc24e01db6a</secret>
  <title>Git&#12391;&#12467;&#12511;&#12483;&#12488;&#21069;&#12398;&#29366;&#24907;&#12395;&#12418;&#12393;&#12377;</title>
  <updated-at type="datetime">2008-07-09T15:36:24+00:00</updated-at>
  <user-id type="integer">3</user-id>
</article>
