github
陌如烟雨淡如尘
这个作者很懒,什么都没留下…
展开
-
Ubuntu中创建github远程仓库
Ubuntu中创建github远程仓库1安装gitsudo apt-get install git2配置git的用户信息git config --global user.email "houchuanhao@imudges.com"houchuanhao@imudges.com是我github绑定的邮箱git config --global user.nam原创 2017-05-06 16:25:57 · 515 阅读 · 0 评论 -
git fatal: refusing to merge unrelated histories
今天在拉取远程仓库上的项目时出现了这个个问题C:\Users\Administrator\Source\Repos\NewRepo>git pull https://github.com/houchuanhao/ACM.git masterFrom https://github.com/houchuanhao/ACM错误提示如下 * branch master ->原创 2017-05-09 16:10:10 · 9897 阅读 · 0 评论 -
gitHub使用
git指令一大堆,经常会忘记,写一篇博客来记录一下1.安装好git后建立远程仓库: ssh-keygen -t rsa -C "houchuanhao@imudges.com" 接下来一直回车 将得到的秘钥记录下来,前往https://github.com/settings/keys添加秘钥 如果忘记了本机秘钥,可以通过cat ~/.ssh/id_rsa.pub命令进行查看...原创 2017-08-17 11:26:45 · 265 阅读 · 0 评论 -
github
首先,androidStudio关于版本控制的视图在这里(左下角) 补: git 中的head head就是指你当前的版本状态(哪个分支的哪个节点) 1.show Diff 这个功能在History标签下 show Diff查看的是这个版本在一个版本的基础上改动的地方 如图所示,这样查看的是“version 2”这个版本与”创建版本库”这个版本的修改之处。 注意,在这里的s原创 2018-01-19 00:15:42 · 417 阅读 · 0 评论