
Code Manager
jmflovezlf
这个作者很懒,什么都没留下…
展开
-
github下载工程
简单介绍下如何下载github下的project。 第一步: 申请github.com账号。 第二步: 如果是windows,请下载git preview并安装(安装完成会生成 git bash) 第三步: 生成ssh keys: 启动终端(windows 下就是git bash),敲入如下命令: ssh-keys -t -rsa -C "xxxx" 中间会让你建立passphras原创 2013-09-28 16:43:52 · 699 阅读 · 0 评论 -
Git常用操作命令
Git常用操作命令收集: 1) 远程仓库相关命令 检出仓库:$ git clone git://github.com/jquery/jquery.git 查看远程仓库:$ git remote -v 添加远程仓库:$ git remote add [name] [url] 删除远程仓库:$ git remote rm [name] 修改远程仓库:$ git re转载 2013-09-16 18:10:24 · 831 阅读 · 0 评论 -
Git fetch和git pull的区别
原文: http://www.tech126.com/git-fetch-pull/ Git中从远程的分支获取最新的版本到本地有这样2个命令: 1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge git fetch origin mastergit log -p master..origin/mastergit merge origin/master转载 2013-09-16 18:10:19 · 640 阅读 · 0 评论 -
fatal: CRLF would be replaced by LF
转自: http://toub.es/2012/05/28/fatal-crlf-would-be-replaced-lf I remember it was a Friday, I wanted to commit my changes and go home to start a good weekend. When I tried to add new files to my l转载 2013-09-10 20:43:59 · 1754 阅读 · 0 评论 -
git提交本地分支到远程分支
1) 远程仓库相关命令 检出仓库:$ git clone git://github.com/jquery/jquery.git 查看远程仓库:$ git remote -v 添加远程仓库:$ git remote add [name] [url] 删除远程仓库:$ git remote rm [name] 修改远程仓库:$ git remote set-url --p原创 2014-01-21 11:06:02 · 1518 阅读 · 0 评论