git gui :Updating the Git index failed. A rescan will be automatically started to res
这个是由于unix系统的换行符和windows的换行符不一致造成的结果。你在安装git的时候,设置了成使用LF,即unix换行符,可是你是在windows下进行文件编辑的,所以会出现上面的警告。其实这也没什么问题的,git只是自动帮你将windows换行符替换为Unix换行符。
down vote
|
I faced similar issues and decided to have a closer look to my configuration. New Line Characters on Windows / Linux / MAC:
Don't panic. Git can handle the conversion between platforms for you. Git should store the line ending as LF in the repo. Set it to; TRUE - If you are on Windows:
This converts LF endings into CRLF when you check out code. INPUT - If you are on a MAC/LINUX: You don't need to convert anything, Git uses LF and your MAC uses LF. But, you can tell git to convert any CRLF if one pass through:
False - Not recommened I don't recommend this, but just for the sake of this explanation: If you are a windows dev only working on windows machine and you are 100% sure you will never work with people on MAC:
UPDATE: As commented below, I didn't mention the .gitattributes where one can default these settings for a project. If you havetime, here is the doc: http://git-scm.com/docs/gitattributes |
git gui :Updating the Git index failed. A rescan will be automatically started to res相关推荐
- Git使用总结(包含Git Bash和Git GUI的使用)
版权声明:本文为博主原创文章,未经博主允许不得转载. https://blog.csdn.net/KevinDGK/article/details/51606925 目录(?)[+] Git总结 简介 ...
- Git GUI,Git Bash,Git CMD标签之间的区别
Git GUI,Git Bash,Git CMD标签之间的区别 本地安装完Git之后,右键会出现2个有关Git的标签,"Git GUI Here" 和 "Git Bash ...
- Git GUI Here 设置成中文界面
Git GUI Here 设置成中文界面 在使用git管理项目时,部分用户可能会用到,git可视化工具"Git GUI Here" . git可视化工具"Git GUI ...
- Windows下Git使用记录--03 Git GUI与金山快盘组建私人代码仓库进行项目开发
使用github进行开发的过程中会有一个问题,那就是github不能提供私人的代码仓库,也就是别人完全可以看到你的代码.如果不想别人看到自己的代码,那就得付费购买github的高级服务,或者通过金山快 ...
- git 安装_Windows系统Git安装教程(详解Git安装过程)
今天更换电脑系统,需要重新安装Git,正好做个记录,希望对第一次使用的朋友能有所帮助! 获取Git安装程序 到Git官网下载,网站地址:https://git-scm.com/downloads 因为 ...
- Git GUI基本操作
一.Git GUI基本操作 1.版本库初始化 gitpractise文件夹就变成了Git可以管理的仓库,目录下多了一个.git文件夹,此目录是Git用于管理版本库的,不要擅自改动里面的文件,这样会破坏 ...
- win下 git gui 使用教程
现在很多都有git来托管项目或者来查找资料,但是看起来操作不是很方便,现在由于win下可以直接使用git gui,让使用git变得方便,当然这只是针对日常简单的使用,如果想详细的使用,可以去参考廖学峰 ...
- Git Gui的使用
在Git简介一文中已经对Git进行了简单的介绍,但是理论知识过于枯燥,加上本人专业知识不够扎实,使得初学者在Git的使用上还是会有很大的困难.虽然我更推荐使用Git Bash方式对Git进行操作,但是 ...
- git gui fetch不到文件_Git内部原理剖析,有比这还详细的吗?
1.1. 为什么写这篇文章 写这篇文章的本意有二: 工作安排原因,常有同事询问我一些关于 Git 的问题,总觉得自己解释的不够透彻,因此觉得有必要深入了解一下. 目前中文的 Git 教程往往本末倒置, ...
- Git Gui for Windows的建库、克隆(clone)、上传(push)、下载(pull)、合并(转)
from:http://hi.baidu.com/mvp_xuan/blog/item/2ba062d8cd2c9fc939012fae.html 关于linux上建库等操作请看文章: http:// ...
最新文章
- 1.Hello,World all the time
- 【Android UI设计与开发】第02期:引导界面(二)使用ViewPager实现欢迎引导页面
- 秒杀架构中高性能可扩展高可用的一点思考
- 关于UAC执行级别的研究
- mysql 学习笔记15 子查询
- common lisp 学习第二天 简单数据库操作
- C#中Equals和==的区别 (面试官经常会问到)
- 详解:设计模式之-策略设计模式
- 第一章,安装 composer
- [转载] Python——摄氏温度转换华氏温度
- Java个人博客项目
- A problem occurred starting process 'command 'xxx
- JavaProperties文件操作
- Springboot毕设项目基于Vue和Springboot的会议室管理系统hbb9kjava+VUE+Mybatis+Maven+Mysql+sprnig)
- Intel(R) WiFi Link 5100 AGN 破解无线网络 BT4正式版U盘启动
- linux打开终端的快捷键放大,linux打开终端的快捷键是什么?
- 元气骑士卡无限服务器,元气骑士养剑葫怎么卡无限飞剑bug方法介绍
- easyui-textbox
- kubernetes pod infra container网络原理
- 最新千万级中文语音语料开源数据整理分享