<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>英溯IT论坛 - GIT</title>
    <link>http://it.chao01.com/forum.php?mod=forumdisplay&amp;fid=64</link>
    <description>Latest 20 threads of GIT</description>
    <copyright>Copyright(C) 英溯IT论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 30 Apr 2026 00:44:16 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://it.chao01.com/static/image/common/logo_88_31.gif</url>
      <title>英溯IT论坛</title>
      <link>http://it.chao01.com/</link>
    </image>
    <item>
      <title>js字符串转换为对象格式的3种方法</title>
      <link>http://it.chao01.com/forum.php?mod=viewthread&amp;tid=97</link>
      <description><![CDATA[背景：

js字符串转换为对象格式，一般都会想到JSON.parse()，但数据不是标准的 JSON 格式的时候会解析出错，这时候就可以使用eval() 函数、new Function()方法来转换。

常用3种将字符串string转为json对象 方法：

var str = \'{\&quot;name\&quot;:\&quot;小明\&quot;,\&quot;age\&quot;:18}\';

var json = ...]]></description>
      <category>GIT</category>
      <author>老司机</author>
      <pubDate>Thu, 04 May 2023 07:22:45 +0000</pubDate>
    </item>
    <item>
      <title>git pull指令报错：error: You have not concluded your merge (MERGE_HEAD e...</title>
      <link>http://it.chao01.com/forum.php?mod=viewthread&amp;tid=95</link>
      <description><![CDATA[使用git pull 指令时报错：error: You have not concluded your merge (MERGE_HEAD exists).

直接翻译上面的报错信息可知：

错误：您尚未结束合并（merge_HEAD存在）。
提示：请在合并之前提交您的更改。
致命：由于未完成合并而退出。

通过上面的信息多少知道了自己 ...]]></description>
      <category>GIT</category>
      <author>老司机</author>
      <pubDate>Mon, 24 Apr 2023 12:41:35 +0000</pubDate>
    </item>
    <item>
      <title>git pull某个分支，却需要我merge？</title>
      <link>http://it.chao01.com/forum.php?mod=viewthread&amp;tid=94</link>
      <description><![CDATA[试想有一条分支是小a创建的，小a提交了5条记录。
此时小b要帮着修改一些东西，于是将该分支拉下来，提交1条记录。
小a后又加了1条记录。现在，小b继续到这条分支，git pull，却需要merge？？？
很疑惑，为什么要merge？我在本地没有多余的操作。这条分支与远程端的历史 ...]]></description>
      <category>GIT</category>
      <author>老司机</author>
      <pubDate>Mon, 24 Apr 2023 12:40:27 +0000</pubDate>
    </item>
    <item>
      <title>git提交时报错:Updates were rejected because the tip of your current bran...</title>
      <link>http://it.chao01.com/forum.php?mod=viewthread&amp;tid=36</link>
      <description><![CDATA[截图

出现这样的问题是由于:自己当前版本低于远程仓库版本

有如下几种解决方法：

1.使用强制push的方法：

 git push -u origin master -f

这样会使远程修改丢失，一般是不可取的，尤其是多人协作开发的时候。

2.push前先将远程repository修改pull下来

git pul ...]]></description>
      <category>GIT</category>
      <author>老司机</author>
      <pubDate>Mon, 29 Mar 2021 01:46:55 +0000</pubDate>
    </item>
    <item>
      <title>git删除本地分支和删除远程分支</title>
      <link>http://it.chao01.com/forum.php?mod=viewthread&amp;tid=19</link>
      <description><![CDATA[引言：　　注：本人一直都是用的git bash窗口完成日常的开发工作。　　事情是这样的，切换分支的时候命令打错了，git checkout 后面没有跟分支名，结果git status，很多delete的文件，直接冒冷汗，git add ,commit 之后发现本地与远程确实是删除了很多文件，我本地没有 ...]]></description>
      <category>GIT</category>
      <author>老司机</author>
      <pubDate>Fri, 12 Feb 2021 02:08:59 +0000</pubDate>
    </item>
    <item>
      <title>git commit 报 No file or directory</title>
      <link>http://it.chao01.com/forum.php?mod=viewthread&amp;tid=13</link>
      <description><![CDATA[使用 git commit 提交到本地库是，报了 `No file or directory`。此情况是在公司内遇到的，根据公司保密协议等要求，没有错误的截图。只能给出解决思路。解决方法：找到本地 .git 下的 hooks 文件夹， 然后把里面的非 .sample 后缀名的文件删掉就可以正常 git commit 了 ...]]></description>
      <category>GIT</category>
      <author>老司机</author>
      <pubDate>Mon, 01 Feb 2021 02:35:40 +0000</pubDate>
    </item>
    <item>
      <title>git入门</title>
      <link>http://it.chao01.com/forum.php?mod=viewthread&amp;tid=10</link>
      <description><![CDATA[https://backlog.com/ja/git-tutorial/]]></description>
      <category>GIT</category>
      <author>赵淑宁</author>
      <pubDate>Mon, 25 Jan 2021 08:30:01 +0000</pubDate>
    </item>
  </channel>
</rss>