<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Git on EvBackup</title>
    <link>https://forzw.com/tags/git/</link>
    <description>Recent content in Git on EvBackup</description>
    <image>
      <title>EvBackup</title>
      <url>https://forzw.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://forzw.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 15 Dec 2010 07:51:54 +0000</lastBuildDate>
    <atom:link href="https://forzw.com/tags/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>GIT命令</title>
      <link>https://forzw.com/archives/562/</link>
      <pubDate>Wed, 15 Dec 2010 07:51:54 +0000</pubDate>
      <guid>https://forzw.com/archives/562/</guid>
      <description>&lt;p&gt;主题一 基本使用 1：下载 git clone *** 2：本地与服务器端同步 git pull 3：本地的状态查询 git status 4：本地修改同步至服务器端 git commit -a -m &amp;ldquo;log_message&amp;rdquo; (-a是提交所有改动，-m是加入log信息) 5：本地修改上传至服务器端 git push  主题二 分支 1:git branch 查看所有分支 2:git branch branch_0.1 master 从主分支master创建branch_0.1分支 3:git branch -m branch_0.1 branch_1.0 将branch_0.1重命名为branch_1.0 4:git checkout branch_1.0/master 切换到branch_1.0/master分支 小窍门: 3与4的一步实现方式为:git checkout -b branch_1.0 master 5:git rebase branch_1.0(前提假设已git checkout master) 在branch_1.0与master分叉处后master的变更append至branch_1.0(较难理解) 6:git branch -d branch_1.0 删除branch_1.0 主题三 更补 1:git commit -C HEAD &amp;ndash;amend 使用最近commit增补提交，不产生新的commit log 2:git reset &amp;ndash;hard HEAD~1 将版本库回复到HEAD之前的版本&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
