<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>おいぬま日報 &#187; Git</title>
	<atom:link href="http://tech.lampetty.net/tech/index.php/archives/category/git/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.lampetty.net/tech</link>
	<description>Apache, MySQL, Perl, Python あたり</description>
	<lastBuildDate>Wed, 18 Jan 2012 15:52:48 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.lampetty.net/tech/index.php/archives/category/git/feed" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>gitでtagを作成する</title>
		<link>http://tech.lampetty.net/tech/index.php/archives/393?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=git%25e3%2581%25a7tag%25e3%2582%2592%25e4%25bd%259c%25e6%2588%2590%25e3%2581%2599%25e3%2582%258b</link>
		<comments>http://tech.lampetty.net/tech/index.php/archives/393#comments</comments>
		<pubDate>Thu, 02 Dec 2010 17:49:34 +0000</pubDate>
		<dc:creator>oinume</dc:creator>
				<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://tech.lampetty.net/tech/?p=393</guid>
		<description><![CDATA[gitでのタグの作り方のメモです。 tagを新しく作る $ git tag -a 1.0.0 -m 'v1.0.0' remoteにpushする $ git push origin 1.0.0 tagを表示する $ gi [...]]]></description>
			<content:encoded><![CDATA[<p>gitでのタグの作り方のメモです。</p>
<h3>tagを新しく作る</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> tag <span style="color: #660033;">-a</span> 1.0.0 <span style="color: #660033;">-m</span> <span style="color: #ff0000;">'v1.0.0'</span></pre></div></div>

<h3>remoteにpushする</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> push origin 1.0.0</pre></div></div>

<h3>tagを表示する</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> tag</pre></div></div>

<h3>tagをremoteから取得する</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> fetch <span style="color: #660033;">--tags</span>
   or
$ <span style="color: #c20cb9; font-weight: bold;">git</span> pull <span style="color: #660033;">--tags</span></pre></div></div>

<h3>tagを削除する</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> tag <span style="color: #660033;">-d</span> 1.0.0</pre></div></div>

<p>remoteにも反映させる。(タグ名に&#8217;:'をつける)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">git</span> push origin :1.0.0</pre></div></div>

<h3>参考</h3>
<ul>
<li><a href="http://progit.org/book/ja/ch2-6.html">Pro Git &#8211; Pro Git 2.6 Git の基本 タグ</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tech.lampetty.net/tech/index.php/archives/393/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.lampetty.net/tech/index.php/archives/393" />
	</item>
		<item>
		<title>Gitの共有リポジトリを運用する場合の個人的なベストプラクティス</title>
		<link>http://tech.lampetty.net/tech/index.php/archives/353?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e5%2580%258b%25e4%25ba%25ba%25e7%259a%2584%25e3%2581%25aagit%25e3%2582%25b5%25e3%2583%25bc%25e3%2583%2590%25e3%2582%2592%25e7%25ab%258b%25e3%2581%25a6%25e3%2582%258b%25e3%2583%2599%25e3%2582%25b9%25e3%2583%2588%25e3%2583%2597%25e3%2583%25a9%25e3%2582%25af%25e3%2583%2586%25e3%2582%25a3%25e3%2582%25b9</link>
		<comments>http://tech.lampetty.net/tech/index.php/archives/353#comments</comments>
		<pubDate>Thu, 17 Dec 2009 13:23:36 +0000</pubDate>
		<dc:creator>oinume</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://tech.lampetty.net/tech/?p=353</guid>
		<description><![CDATA[最近Gitの共有リポジトリを構築する機会があったのですが、以下のような感じで運用しています。 gitプロトコルではなくsshでアクセス(ポート開けるのだるいので) サーバ側にgitユーザを作って、アクセスさせたい人にss [...]]]></description>
			<content:encoded><![CDATA[<p>最近Gitの共有リポジトリを構築する機会があったのですが、以下のような感じで運用しています。</p>
<ul>
<li>gitプロトコルではなくsshでアクセス(ポート開けるのだるいので)</li>
<li>サーバ側にgitユーザを作って、アクセスさせたい人にsshの公開鍵をもらってそれを /home/git/.ssh/authorized_keys に追加して公開鍵認証</li>
<li>git clone ssh://git@lampetty.net/var/cache/git/hoge.git みたいな感じでclone</li>
</ul>
<p>いちいちサーバ側にユーザ追加して、gitリポジトリのディレクトリにパーミッション付与するよりこっちの方がたぶん楽。</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.lampetty.net/tech/index.php/archives/353/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.lampetty.net/tech/index.php/archives/353" />
	</item>
	</channel>
</rss>

