---
title: "Git使用问题集"
author: "火云剑Shanke"
date: "2012-10-05T16:44:49Z"
tags: []
categories: ["研发管理"]
slug: "git"
draft: false
lastmod: "2017-06-12T14:33:32Z"
id: 1691695
url: "https://kurui.iteye.com/blog/1691695"
---

**git version 1.7.8.msysgit.0**

一、Git Eclipse plugin正常，**Git Cmd 模式**下 git add –a 命令，html、doc、等文件无法加入index，txl、sql文件又可以

 ![](http://dl.iteye.com/upload/picture/pic/118779/8e2196a7-bfe4-3f42-b7d7-8af0b6ae043c.jpg)

**
二、 中文支持问题**

切换分支时

F:\project\TRP>git reset --hard ec338945
error: unable to create file defaultroot/policy/任务条.html (Invalid argument)
Checking out files: 100% (1306/1306), done.


warning: Your console font probably doesn't support Unicode. If you experience strange characters in the output, consider switching to a TrueType font such as Lucida Console!

网传解决方案：
$ git config --global core.autocrlf true

实际使用无效，原因不明

**
三、GitHub相关问题**
1、上传大文件速度慢。
**2、无法连接到GitHub**
Can't connect to any repository: git@github.com:XXX.git (An internal Exception occurred during push: git@github.com:XXX.git: java.net.ConnectException: Connection timed out: connect)
3.2013-1-9 北京。打开网页 https://github.com 比较慢。 原因不明。下午好像又恢复了。奇怪。

​原文链接：<http://riboseyim.github.io/2016/05/31/Git/>
​![](http://o8m8ngokc.bkt.clouddn.com/ID_RiboseYim_201706.png)