<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.mywiki.cn/Hovercool/index.php?action=history&amp;feed=atom&amp;title=%E4%BD%BF%E7%94%A8git%E4%B8%8B%E8%BD%BD%E4%BB%A3%E7%A0%81</id>
	<title>使用git下载代码 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.mywiki.cn/Hovercool/index.php?action=history&amp;feed=atom&amp;title=%E4%BD%BF%E7%94%A8git%E4%B8%8B%E8%BD%BD%E4%BB%A3%E7%A0%81"/>
	<link rel="alternate" type="text/html" href="https://www.mywiki.cn/Hovercool/index.php?title=%E4%BD%BF%E7%94%A8git%E4%B8%8B%E8%BD%BD%E4%BB%A3%E7%A0%81&amp;action=history"/>
	<updated>2026-09-01T04:46:49Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.mywiki.cn/Hovercool/index.php?title=%E4%BD%BF%E7%94%A8git%E4%B8%8B%E8%BD%BD%E4%BB%A3%E7%A0%81&amp;diff=860&amp;oldid=prev</id>
		<title>2015年5月6日 (三) 12:13 Hovercool</title>
		<link rel="alternate" type="text/html" href="https://www.mywiki.cn/Hovercool/index.php?title=%E4%BD%BF%E7%94%A8git%E4%B8%8B%E8%BD%BD%E4%BB%A3%E7%A0%81&amp;diff=860&amp;oldid=prev"/>
		<updated>2015-05-06T12:13:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= 一、安装git =&lt;br /&gt;
ubuntu安装&lt;br /&gt;
 apt-get install git&lt;br /&gt;
&lt;br /&gt;
windows可以下载安装 msysgit&lt;br /&gt;
&lt;br /&gt;
= 二、生成ssh密钥 =&lt;br /&gt;
命令：ssh-keygen -t rsa -C &amp;quot;xxx@xxx.com&amp;quot;，如&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh-keygen -t rsa -C &amp;quot;xxx@xxx.org&amp;quot;&lt;br /&gt;
Generating public/private rsa key pair.&lt;br /&gt;
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):&lt;br /&gt;
Enter passphrase (empty for no passphrase):&lt;br /&gt;
Enter same passphrase again:&lt;br /&gt;
Your identification has been saved in id_rsa.&lt;br /&gt;
Your public key has been saved in id_rsa.pub.&lt;br /&gt;
The key fingerprint is:&lt;br /&gt;
86:04:ae:65:07:84:8e:dc:61:ea:0d:03:8e:6e:07:42 xxx@xxx.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
则在 ~/.ssh/目录下生成了 id_rsa和 id_rsa.pub两个密钥文件，前者为私钥，后者为公钥。&lt;br /&gt;
&lt;br /&gt;
把生成的公钥复制加入 gerrit&lt;/div&gt;</summary>
		<author><name>Hovercool</name></author>
	</entry>
</feed>