<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>secondlife&#12373;&#12435;&#12398;&#12372;&#25351;&#25688;&#12398;&#36890;&#12426;&#12289;
&#12371;&#12398;&#26041;&#27861;&#12391;&#12399;&#12358;&#12414;&#12367;&#12356;&#12363;&#12394;&#12356;&#20107;&#12364;&#12431;&#12363;&#12426;&#12414;&#12375;&#12383;&#12290;

&#20195;&#26696;&#12434;&#25506;&#12375;&#12390;&#12415;&#12383;&#12392;&#12371;&#12429;&#12289;
&#12392;&#12426;&#12354;&#12360;&#12378;&#20197;&#19979;&#12398;&#12424;&#12358;&#12395;&#12377;&#12427;&#12371;&#12392;&#12391;&#30446;&#30340;&#12434;&#26524;&#12383;&#12379;&#12427;&#12424;&#12358;&#12391;&#12377;&#12290;

 1. &#31354;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12392;&#12375;&#12383;&#12356;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#65288;&#20363;&#12360;&#12400;`tmp/`&#65289;&#12398;&#20013;&#12395;`.gitignore`&#12501;&#12449;&#12452;&#12523;&#12434;&#32622;&#12367;
 2. `tmp/`&#12434;ROOT&#12398;`.gitignore`&#12501;&#12449;&#12452;&#12523;&#12398;&#20013;&#12391;ignore&#12377;&#12427;
pre&gt;&gt;
tmp
&lt;&lt;--
 3. `git add tmp/.gitignore`&#12434;&#12377;&#12427;&#12290;

`.gitignore`&#12501;&#12449;&#12452;&#12523;&#33258;&#20307;&#12399;&#21547;&#12414;&#12428;&#12390;&#12375;&#12414;&#12356;&#12414;&#12377;&#12364;&#12289;
&#23455;&#29992;&#19978;&#12399;&#21839;&#38988;&#12394;&#12373;&#12381;&#12358;&#12391;&#12377;&#12397;&#12290;
&#12375;&#12363;&#12375;&#12289;&#23436;&#20840;&#12394;&#26041;&#27861;&#12399;&#28961;&#12356;&#12418;&#12398;&#12363;&#65381;&#65381;&#65381;&#12290;

**See Also**

 * [&#31354;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12395;.gitignore&#12434;](http://d.hatena.ne.jp/akm/20080728)


----
`log/`&#12420;`tmp/`&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12398;&#20013;&#36523;&#12399;ignore&#12375;&#12383;&#12356;&#12369;&#12428;&#12393;&#12289;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12381;&#12398;&#12418;&#12398;&#12398;&#23384;&#22312;&#12399;&#12522;&#12509;&#12472;&#12488;&#12522;&#12395;&#21547;&#12417;&#12383;&#12356;&#22580;&#21512;&#12399;&#12289;&#20197;&#19979;&#12398;&#12424;&#12358;&#12395;.gitignore&#12434;&#26360;&#12369;&#12400;&#33391;&#12356;&#12415;&#12383;&#12356;&#12391;&#12377;&#12290;

**.gitignore**

pre&gt;&gt;
log/**/*
tmp/**/*
&lt;&lt;--

Zsh&#12391;&#29305;&#23450;&#12398;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#20197;&#19979;&#12398;rb&#12501;&#12449;&#12452;&#12523;&#12434;&#20840;&#37096;&#38283;&#12365;&#12383;&#12356;&#26178;&#12394;&#12393;&#12395;&#12289;

sh&gt;&gt;
vim **/*.rb
&lt;&lt;--

&#12394;&#12393;&#12392;&#12420;&#12426;&#12414;&#12377;&#12364;&#12289;&#12381;&#12435;&#12394;&#24863;&#12376;&#12391;&#12377;&#12397;&#12290;</body>
  <cached-tag-list>git memo</cached-tag-list>
  <comments-count type="integer">2</comments-count>
  <created-at type="datetime">2008-08-06T09:37:07+00:00</created-at>
  <daily-archive-id type="integer">695</daily-archive-id>
  <filter-type>blue_stole</filter-type>
  <id type="integer">733</id>
  <monthly-archive-id type="integer">82</monthly-archive-id>
  <pdf-digest nil="true"></pdf-digest>
  <permalink nil="true"></permalink>
  <published-at type="datetime">2008-08-06T09:34:00+00:00</published-at>
  <secret>2fe431d2-57f3-4cfd-b59d-a73f50102f36</secret>
  <title>[&#38291;&#36949;&#12356;&#12434;&#35330;&#27491;].gitignore&#12391;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12398;&#20013;&#36523;&#12384;&#12369;&#12434;ignore&#12377;&#12427;&#26360;&#12365;&#26041;</title>
  <updated-at type="datetime">2008-10-22T20:09:49+00:00</updated-at>
  <user-id type="integer">1</user-id>
</article>
