随笔分类 -  git

记录探索git过程
忽略已经跟踪的文件
摘要:git update-index --assume-unchanged 一次只能指定一个文件 阅读全文

posted @ 2014-06-12 16:28 wensky 阅读(119) 评论(0) 推荐(0)

Force git to overwrite local files on pull 使用pull强制覆盖本地文件 转载自:http://snowdream.blog.51cto.com/3027865/1102441
摘要:How do I force an overwrite of local files on a git pull?I think this is the right way:$ git fetch --all $ git reset --hard origin/master $ git fetch... 阅读全文

posted @ 2014-06-12 16:14 wensky 阅读(460) 评论(0) 推荐(0)

Git Status 中文乱码解决 转载自:http://blog.crhan.com/2012/09/git-status-中文乱码解决/
摘要:只要一行就行了git config --global core.quotepath false 阅读全文

posted @ 2014-06-11 14:18 wensky 阅读(130) 评论(0) 推荐(0)

vim 编码
摘要:。VIM 还有一个很好的临时性的方法。像这样 :edit ++enc=big5 filename,就可以big5 编码方式打开一个文件了。保存时用 :w ++enc=big5 filename。big5 可以换成你机器上有的locale 中的任意一种。前提是你的机器能正常显示。祝用得开心! 阅读全文

posted @ 2014-06-10 14:32 wensky 阅读(128) 评论(0) 推荐(0)

中文录入问题 转载自:http://blog.csdn.net/ichsonx/article/details/8625925
摘要:2.1中文录入问题默认安装的msysgit的shell环境中无法输入中文,为了能在shell界面输入中文,需要修改配置文件/etc/inputrc,增加或修改相关配置如下:#disable/enable 8bit inputset meta-flag onset input-meta onset o... 阅读全文

posted @ 2014-06-07 15:20 wensky 阅读(147) 评论(0) 推荐(0)

导航