
git
丿starRiver
这个作者很懒,什么都没留下…
展开
-
如何用git将项目代码上传到github
注册账户以及创建仓库要想使用github第一步当然是注册github账号了。之后就可以创建仓库了(免费用户只能建公共仓库),Create a New Repository,填好名称后Create,之后会出现一些仓库的配置信息,这也是一个Git的简单教程。步骤如下: 打开https://github.com 直接在首页上注册点按钮注册成功之后,在页原创 2017-02-20 16:18:35 · 504 阅读 · 0 评论 -
Git commit更换默认VIM编辑器为notepad++
git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin 然后直接git commit 就ok了!原创 2016-12-20 18:58:46 · 3935 阅读 · 0 评论 -
git辅助神器:修改默认文本比较工具diff 为Beyond Compare
git config --global diff.tool Beyondgit config --global difftool.Beyond.cmd "'C:\Program Files\Beyond Compare 4\BCompare.exe' \"\$LOCAL\" \"\$REMOTE\""git config --global difftool.prompt fal原创 2016-12-20 19:01:59 · 3181 阅读 · 1 评论 -
git本地存储库如何强制更新github上的代码?
git fetch --allgit reset --hard origin/master原创 2017-02-24 11:00:07 · 1227 阅读 · 2 评论 -
【git】 无法commit问题
今天写完代码Git commit -m 一下发现提示Another git process seems to be running in this repository, e.g.an editor opened by 'git commit'. Please make sure all processesare terminated then try again. If it s原创 2017-03-13 14:51:56 · 6767 阅读 · 0 评论 -
git commit 出现 changes not staged for commit 错误
git commit 出现 changes not staged for commit 错误 修复:转载 2017-04-24 11:32:58 · 9924 阅读 · 0 评论