![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
p763833631
这个作者很懒,什么都没留下…
展开
-
git强制拉取代码覆盖本地的
git reset --hard 3b2cbd856874a685d67216086233b9454ee84f27网上是下面的方法 git fetch --all git reset --hard origin/master原创 2016-12-08 15:45:08 · 17498 阅读 · 0 评论 -
git bash下中文乱码
git bash下中文乱码reason: errno:10061 鐢变簬鐩爣璁$畻鏈虹Н鏋佹嫆缁濓紝鏃犳硶杩炴帴銆▒在git bash 右键 点击Options原创 2017-01-18 11:48:30 · 937 阅读 · 0 评论 -
Add zip into GIT Bash on Windows
win8.1 git bash命令行 执行zipbash: zip: command not foundhttps://sourceforge.net/projects/gnuwin32/files/zip/3.0/zip-3.0-bin.zip/download下载解压后 取出zip.exehttps://sourceforge.net/projects/gnuwin32/files/bzip...原创 2017-06-08 18:30:34 · 1604 阅读 · 2 评论 -
vendor/noahbuscher/macaw目录文件提交不到git上
$ git add macaw/*fatal: Pathspec 'macaw/composer.json' is in submodule 'vendor/noahbuscher/macaw'$ cd macaw/$ git add composer.jsonfatal: in unpopulated submodule 'vendor/noahbuscher/macaw'$ git r...原创 2018-04-18 15:16:17 · 733 阅读 · 0 评论 -
git域名更换ip地址后Connection timed out
Git pullssh: connect tohost git.ishopex.cn port 22: Connection timed out这个url先换个错误的然后然后再换回正确的 然后git pull 上面这样做其实本质就是为了找到当前电脑上known_hosts文件的位置 然后把里面错误的域和ip等信息删除掉 删除掉之后 再执行git命令的时候就会自动换成新的正确的所以Windows环...原创 2018-05-14 20:50:18 · 2053 阅读 · 0 评论