<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

 <title>Stardust's Blog</title>
 <link href="https://gitlab.com/finalxcode/atom.xml" rel="self"/>
 <link href="https://gitlab.com/finalxcode/"/>
 <updated>2026-11-24T13:46:55+00:00</updated>
 <id>https://gitlab.com/finalxcode</id>
 <author>
   <name>Stardust</name>
   <email>finalxcode@gmail.com</email>
 </author>

 
 <entry>
   <title>git基础</title>
   <link href="https://gitlab.com/finalxcode/git-%E5%9F%BA%E6%9C%AC%E6%8A%80%E5%B7%A7.html"/>
   <updated>2018-03-18T00:00:00+00:00</updated>
   <id>https://gitlab.com/finalxcode/git-基本技巧</id>
   <content type="html">&lt;h2 id=&quot;基本技巧&quot;&gt;基本技巧&lt;/h2&gt;

&lt;h3 id=&quot;保存状态&quot;&gt;保存状态&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&quot;language-git&quot;&gt;    git init
    git add --all
    git commit -m &apos;my first snapshot&apos;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;上面的命令将会创建一个快照，将所做的更改保存下来。&lt;/p&gt;

&lt;h3 id=&quot;添加删除重命名&quot;&gt;添加，删除，重命名&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;   git add readme.txt
   git rm a.h b.c
   git rm -r a/b
   git mv a.h b.c
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;撤销重做&quot;&gt;撤销/重做&lt;/h3&gt;

&lt;p&gt;先使用&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git log&lt;/code&gt;来查看提交的历史，得到提交历史记录的哈希值
&lt;img src=&quot;/Users/ISAAC/project/blog/images/log.jpg&quot; alt=&quot;查看提交历史&quot; /&gt;&lt;/p&gt;

</content>
 </entry>
 
 <entry>
   <title>iPython基础</title>
   <link href="https://gitlab.com/finalxcode/ipython%E4%B8%80%E7%A7%8D%E4%BA%A4%E4%BA%92%E5%BC%8F%E8%AE%A1%E7%AE%97%E5%92%8C%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83.html"/>
   <updated>2018-03-13T00:00:00+00:00</updated>
   <id>https://gitlab.com/finalxcode/ipython一种交互式计算和开发环境</id>
   <content type="html">&lt;h2 id=&quot;ipython基础&quot;&gt;iPython基础&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ipython&lt;/strong&gt;的核心功能是交互，您可以在&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;shell&lt;/code&gt;中输入ipython notebook来进行开发和测试
若想要&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ipython notebook&lt;/code&gt;同时使用&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python2&lt;/code&gt;和&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python3&lt;/code&gt;,可以使用如下命令&lt;/p&gt;
&lt;div class=&quot;language-python highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;   &lt;span class=&quot;n&quot;&gt;ipython&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;kernel&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;python2&lt;/span&gt;
   &lt;span class=&quot;n&quot;&gt;ipython&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;kernel&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;python3&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</content>
 </entry>
 
 <entry>
   <title>开始创建博客</title>
   <link href="https://gitlab.com/finalxcode/%E5%BC%80%E5%A7%8B%E5%88%9B%E5%BB%BA%E5%8D%9A%E5%AE%A2.html"/>
   <updated>2018-03-11T00:00:00+00:00</updated>
   <id>https://gitlab.com/finalxcode/开始创建博客</id>
   <content type="html">&lt;p&gt;里程碑&lt;/p&gt;

</content>
 </entry>
 

</feed>
