摘要: git乱码解决:在Ubuntu下,git status时,中文文件名乱码类似“274\232\350\256\256\346\200\273\347\273\223.png”,修改配置即可"git config --global core.quotepath false" (参考:http://bl 阅读全文
posted @ 2015-02-13 19:45 liqipeng 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1. 同步远程服务器上的数据到本地 git fetch origin 2. 添加远程分支 git remote add teamone git://git.tram1.ourcompany.com 添加后git fetch teamone到本地 3. 要把远程分支合并到当前分支 git merge 阅读全文
posted @ 2015-02-13 19:31 liqipeng 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1. 新建并切换到该分支$ git checkout -b iss53Switched to a new branch 'iss53'相当于:$ git branch iss53$ git checkout iss532.切换到分支$ git checkout masterSwitched to b... 阅读全文
posted @ 2015-02-13 19:30 liqipeng 阅读(163) 评论(0) 推荐(0) 编辑
摘要: git -bare initgit remote add origin ssh://myserver.com/home/git/myapp.gitgit remote show origin[receive]denyCurrentBranch=ignoregit diff查看当前修改的和暂存区的差别... 阅读全文
posted @ 2015-02-13 19:29 liqipeng 阅读(189) 评论(0) 推荐(0) 编辑