<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Git on MoeJueのブログ</title>
    <link>https://ja.moejue.cn/en/tags/git/</link>
    <description>Recent content in Git on MoeJueのブログ</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 02 Jun 2025 06:59:31 +0000</lastBuildDate>
    <atom:link href="https://ja.moejue.cn/en/tags/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[Notes] Git Common Commands by Scenario</title>
      <link>https://ja.moejue.cn/en/posts/264/</link>
      <pubDate>Mon, 02 Jun 2025 06:58:42 +0000</pubDate>
      <guid>https://ja.moejue.cn/en/posts/264/</guid>
      <description>&lt;blockquote&#xA;    class=&#34;border-primary bg-muted/30 hover:bg-muted/40 my-6 rounded-r-lg border-l-4 py-4 pr-4 pl-6 italic transition-all duration-200 ease-out hover:translate-x-1&#34;&gt;&#xA;    &lt;div class=&#34;prose prose-sm max-w-none&#34;&gt;&#xA;      &lt;p&gt;For common Git operations in everyday development. It&amp;rsquo;s organized into categories to help you get started or get started.&lt;/p&gt;&#xA;&#xA;    &lt;/div&gt;&#xA;  &lt;/blockquote&gt;&lt;script&gt;&#xA;function toggleAlert(alertId) {&#xA;  const content = document.getElementById(alertId + &#39;-content&#39;);&#xA;  const chevron = document.getElementById(alertId + &#39;-chevron&#39;);&#xA;  const header = content.previousElementSibling;&#xA;  &#xA;  if (content.classList.contains(&#39;hidden&#39;)) {&#xA;    content.classList.remove(&#39;hidden&#39;);&#xA;    chevron.style.transform = &#39;rotate(0deg)&#39;;&#xA;    header.setAttribute(&#39;aria-expanded&#39;, &#39;true&#39;);&#xA;  } else {&#xA;    content.classList.add(&#39;hidden&#39;);&#xA;    chevron.style.transform = &#39;rotate(-90deg)&#39;;&#xA;    header.setAttribute(&#39;aria-expanded&#39;, &#39;false&#39;);&#xA;  }&#xA;}&#xA;&#xA;&#xA;document.addEventListener(&#39;DOMContentLoaded&#39;, function() {&#xA;  const collapsedAlerts = document.querySelectorAll(&#39;.alert-content.hidden&#39;);&#xA;  collapsedAlerts.forEach(function(content) {&#xA;    const alertId = content.id.replace(&#39;-content&#39;, &#39;&#39;);&#xA;    const chevron = document.getElementById(alertId + &#39;-chevron&#39;);&#xA;    if (chevron) {&#xA;      chevron.style.transform = &#39;rotate(-90deg)&#39;;&#xA;    }&#xA;  });&#xA;});&#xA;&lt;/script&gt;&#xA;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;-basic-commands&#34;&gt;📦 Basic Commands&lt;/h2&gt;&#xA;&lt;p&gt;order&lt;/p&gt;</description>
    </item>
    <item>
      <title>[Notes] Comprehensive list of commonly used Git commands</title>
      <link>https://ja.moejue.cn/en/posts/57/</link>
      <pubDate>Sat, 16 Jun 2018 08:56:21 +0000</pubDate>
      <guid>https://ja.moejue.cn/en/posts/57/</guid>
      <description>&lt;p&gt;Following the last time, I took the time to sort out a relatively complete list of commonly used Git commands, and found a great map, very high-definition (1759*3162).&lt;/p&gt;&#xA;&lt;p&gt;View, add, submit, delete, retrieve, reset modified files&lt;/p&gt;&#xA;&lt;p&gt;git help &lt;command&gt; # Display help for command&lt;/p&gt;&#xA;&lt;p&gt;git show # Display the contents of a certain commit git show $id&lt;/p&gt;&#xA;&lt;p&gt;git co &amp;ndash; &lt;file&gt; # Discard workspace modifications&lt;/p&gt;&#xA;&lt;p&gt;git co . # Discard workspace modifications&lt;/p&gt;</description>
    </item>
    <item>
      <title>Simple Steps for Using Git</title>
      <link>https://ja.moejue.cn/en/posts/64/</link>
      <pubDate>Tue, 03 Apr 2018 12:04:32 +0000</pubDate>
      <guid>https://ja.moejue.cn/en/posts/64/</guid>
      <description>&lt;p&gt;This article does not elaborate any conceptual knowledge, just make a note, simply is the use of the steps, if you encounter obstacles, please Google it!&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using SSH to Bind Git to GitHub&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;1. Generate &lt;code&gt;SSH key&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;ssh-keygen -t rsa&lt;/p&gt;&#xA;&lt;p&gt;Specify the RSA algorithm to generate the key, after which two files will be generated, id_rsa and id_rsa.pub, i.e., the key id_rsa and the public key id_rsa.pub. For these two files&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
