<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>&#20491;&#20154;&#30340;&#12395;&#12399; git &#12364;&#33394;&#12435;&#12394;&#28857;&#12391; svn &#12434;&#19978;&#22238;&#12387;&#12390;&#12356;&#12427;&#12392;&#24863;&#12376;&#12390;&#12356;&#12427;&#12364;&#12289;
&#12414;&#12384;&#12402;&#12392;&#12388;&#12384;&#12369; svn &#12395;&#12375;&#12363;&#12394;&#12356;&#27231;&#33021;&#12364;&#27531;&#12387;&#12390;&#12356;&#12427;&#12290;

pre&gt;&gt;
% svn info
URL: http://wota.jp/svn/rails/plugins/trunk/dsl_accessor
...
&lt;&lt;--

&#12354;&#12428;&#65311;&#12371;&#12398; git &#12387;&#12390;&#12393;&#12371;&#12398;&#12524;&#12509;&#12472;&#12488;&#12522;&#12398;&#12384;&#12387;&#12369;&#65311;
&#12390;&#12398;&#12434;&#36895;&#25915;&#12391;&#30693;&#12426;&#12383;&#12356;&#12392;&#12365;&#12395; git info &#12364;&#12394;&#12356;&#12398;&#12434;&#24680;&#12417;&#12375;&#12367;&#24605;&#12358;&#12290;
&#12418;&#12385;&#12429;&#12435; .git/config &#12434;&#35211;&#12428;&#12400;&#12356;&#12356;&#12398;&#12384;&#12364;&#12289;

pre&gt;&gt;
% cat .git/config
...
[remote &quot;origin&quot;]
        url = git@github.com:maiha/mjs.git
        fetch = +refs/heads/*:refs/remotes/origin/*

&lt;&lt;--

svn info &#12395;&#27604;&#12409;&#12427;&#12392;&#21482;&#12391;&#12373;&#12360; type &#25968;&#12364;&#22810;&#12356;&#19978;&#12395;&#12289;
&#12469;&#12502;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12395;&#12356;&#12427;&#12392;&#12365;&#12398; type &#25968;&#12399;&#20998;&#26512;&#19981;&#33021;&#12395;&#12394;&#12427;&#12398;&#12391;&#12289;
&#12420;&#12387;&#12401;&#12426;&#36763;&#12356;&#12290;
&#20013;&#36523;&#12418;&#38263;&#36942;&#12366;&#12390; url &#12434;&#35211;&#12388;&#12369;&#20986;&#12377;&#12398;&#12418;&#22823;&#22793;&#12384;&#12375;&#12289;
&#26368;&#36817;&#12391;&#12399;&#26126;&#12369;&#26041;&#12395;&#12399;&#27703;&#28857;&#19979;&#36817;&#12367;&#12414;&#12391;&#20919;&#12360;&#36796;&#12435;&#12391;&#12375;&#12414;&#12387;&#12390;&#12289;
&#12467;&#12531;&#12499;&#12491;&#34892;&#12367;&#12398;&#12418;&#19968;&#33510;&#21172;&#12394;&#26152;&#20170;&#12289;
&#12383;&#12387;&#12365;&#12540;&#12395;

&gt; &#12300;git config &#12377;&#12428;&#12400;&#12360;&#12360;&#12364;&#12394;&#12301; (&#22768;&#12539;&#30053;&#31036;&#26381;&#12398;&#38263;&#32769;)

&#12392;&#35328;&#12431;&#12428;&#12383;&#12398;&#12391;&#12289;&#12381;&#12358;&#12375;&#12414;&#12375;&#12383;&#12290;

pre&gt;&gt;
% git config --list
user.email=maiha@wota.jp
user.name=maiha
...
&lt;&lt;--

 --list &#12399;&#38263;&#12356;&#12398;&#12391;&#12289;get &#12391; url &#12384;&#12369;&#30331;&#37682;&#12290;

pre&gt;&gt;
% vi ~/.gitconfig
[alias]
    url = config --get remote.origin.url

% git url
git@github.com:maiha/mjs.git
&lt;&lt;--

&#12367;&#12357;&#12316;&#12435;&#9834;

&#12391;&#12418;&#12289;git info &#12418;&#12420;&#12387;&#12401;&#12426;&#27442;&#12375;&#12356;&#12391;&#12377;
</body>
  <cached-tag-list>git</cached-tag-list>
  <comments-count type="integer">1</comments-count>
  <created-at type="datetime">2009-01-13T06:25:23+00:00</created-at>
  <daily-archive-id type="integer">985</daily-archive-id>
  <filter-type>blue_stole</filter-type>
  <id type="integer">1210</id>
  <monthly-archive-id type="integer">133</monthly-archive-id>
  <pdf-digest nil="true"></pdf-digest>
  <permalink nil="true"></permalink>
  <published-at type="datetime">2009-01-14T05:14:00+00:00</published-at>
  <secret>6b26b9a2-4de9-45ad-a393-811b5ae59542</secret>
  <title>&#20778;&#12375;&#12356;git&#12398;&#32946;&#12390;&#26041; : info</title>
  <updated-at type="datetime">2009-01-14T05:16:29+00:00</updated-at>
  <user-id type="integer">48</user-id>
</article>
