<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>&#20197;&#21069;git-svn&#12395;&#12388;&#12356;&#12390;[&#35352;&#20107;](http://blog.s21g.com/articles/600)&#12434;&#26360;&#12356;&#12383;&#12398;&#12391;&#12377;&#12364;&#12289;&#26368;&#36817;s21g&#12391;&#12418;Git&#12391;&#12522;&#12509;&#12472;&#12488;&#12522;&#12364;&#12391;&#12365;&#12383;&#12398;&#12391;&#12289;pure git&#12395;&#12375;&#12390;&#12415;&#12427;&#12371;&#12392;&#12395;&#12375;&#12414;&#12375;&#12383;&#12290;

###&#12424;&#12367;&#20351;&#12358;&#12467;&#12510;&#12531;&#12489;&#36948;
shell&gt;&gt;
#&#12522;&#12514;&#12540;&#12488;&#12420;&#12502;&#12521;&#12531;&#12481;&#12434;&#30906;&#35469;&#12539;&#36861;&#21152;
git remote #&#12522;&#12514;&#12540;&#12488;&#19968;&#35239;
git branch #&#12502;&#12521;&#12531;&#12481;&#19968;&#35239;
git remote add origin ssh://git.s21g.com/mnt/git/muji.git
git config --get remote.origin.url #&#12522;&#12514;&#12540;&#12488;origin&#12398;URL&#12434;&#34920;&#31034;

#&#22793;&#26356;&#12434;&#30906;&#35469;&#12375;&#12390;&#12510;&#12540;&#12472;
git fetch origin
git log -p master..origin/master # -p&#12434;&#12388;&#12369;&#12427;&#12392;diff&#29366;&#24907;&#12434;&#35211;&#12379;&#12390;&#12367;&#12428;&#12427;
git merge origin/master

#&#12467;&#12511;&#12483;&#12488;
git push origin master
&lt;&lt;--
+ [&#20197;&#21069;](http://blog.s21g.com/articles/600)&#12395;&#26360;&#12356;&#12383;git stash, git stash apply, git checkout -- filename&#12394;&#12393;&#12418;&#12418;&#12385;&#12429;&#12435;&#20351;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290;

###git-pull&#12399;&#20108;&#12388;&#12398;&#21205;&#20316;&#12434;&#12414;&#12392;&#12417;&#12390;&#12420;&#12387;&#12390;&#12367;&#12428;&#12427;
&gt; &quot;pull&quot; &#12467;&#12510;&#12531;&#12489;&#12399;&#27425;&#12398;&#65298;&#12388;&#12398;&#25805;&#20316;&#12434;&#23455;&#34892;&#12375;&#12414;&#12377;&#65306;   
&gt; (1) &#12522;&#12514;&#12540;&#12488;&#12502;&#12521;&#12531;&#12481;&#12363;&#12425;&#22793;&#26356;&#12434;&#21462;&#24471;&#12290;= fetch  
&gt; (2) &#12381;&#12428;&#12425;&#12434;&#29694;&#22312;&#12398;&#12502;&#12521;&#12531;&#12481;&#12395;&#12510;&#12540;&#12472;&#12290;= merge  
&gt; &lt;http://www8.atwiki.jp/git_jp/pub/Documentation.ja/tutorial.html&gt;

###git-log&#12399;&#12420;&#12420;&#12371;&#12375;&#12356;
shell&gt;&gt;
git log test..master  # master &#12363;&#12425;&#21040;&#36948;&#21487;&#33021;&#12384;&#12364;&#12289;test &#12363;&#12425;&#12399;&#21040;&#36948;&#21487;&#12391;&#12394;&#12356;&#12467;&#12511;&#12483;&#12488;
git log master..test  # test &#12363;&#12425;&#21040;&#36948;&#21487;&#33021;&#12384;&#12364;&#12289;master &#12363;&#12425;&#12399;&#21040;&#36948;&#21487;&#33021;&#12391;&#12394;&#12356;&#12467;&#12511;&#12483;&#12488;
git log master...test # test &#12414;&#12383;&#12399; master &#12363;&#12425;&#21040;&#36948;&#21487;&#33021;&#12384;&#12364;&#12289;&#20001;&#26041;&#12363;&#12425;&#12399;&#21040;&#36948;&#21487;&#33021;&#12391;&#12394;&#12356;...
&lt;&lt;--
&lt;http://www8.atwiki.jp/git_jp/pub/Documentation.ja/user-manual.html#browsing-revisions&gt;

</body>
  <cached-tag-list>git</cached-tag-list>
  <comments-count type="integer">0</comments-count>
  <created-at type="datetime">2008-08-30T01:53:15+00:00</created-at>
  <daily-archive-id type="integer">750</daily-archive-id>
  <filter-type>blue_stole</filter-type>
  <id type="integer">838</id>
  <monthly-archive-id type="integer">86</monthly-archive-id>
  <pdf-digest nil="true"></pdf-digest>
  <permalink nil="true"></permalink>
  <published-at type="datetime">2008-08-30T01:53:00+00:00</published-at>
  <secret>66f41971-97c9-4148-a0e6-d4e0ddac3858</secret>
  <title>git-svn&#12363;&#12425;(pure)git&#12395;&#31227;&#34892;&#12375;&#12414;&#12375;&#12383;&#65306;&#12424;&#12367;&#20351;&#12358;&#12467;&#12510;&#12531;&#12489;</title>
  <updated-at type="datetime">2008-08-31T07:32:08+00:00</updated-at>
  <user-id type="integer">3</user-id>
</article>
