
【Git】
fanfan4569
登上山顶,欣喜掩盖疼痛。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
用git把项目上传到github
注册账户以及创建仓库要想使用github第一步当然是注册github账号了。之后就可以创建仓库了(免费用户只能建公共仓库),Create a New Repository,填好名称后Create,之后会出现一些仓库的配置信息,这也是一个Git的简单教程。步骤如下: 打开https://github.com 直接在首页上注册点按钮注册成功之后,在页转载 2016-10-15 19:37:54 · 517 阅读 · 0 评论 -
updates were rejected because the tip of your current branch is behind its remote counterpart
转载自:http://blog.csdn.net/commshare/article/details/31771203提交更改到本地的Git仓库,发现冲突,必须得先merge,不过merge好多冲突,我就想放弃了,因为不记得有啥更新。但是确实说 :updates were rejected because the tip of your current branch is转载 2016-10-15 20:16:19 · 657 阅读 · 0 评论 -
【git】之 "我的"命令
(1)删除文件/文件夹 删除文件夹 git rm XXX -r 删除文件 git rm XXX git rm XXX -rgit commit -m "Sad"git push(2)修改远程地址,先删除origin然后再添加 查看远程地址 git remote -v 删除origin地址 git remote rm origin原创 2017-02-26 20:45:59 · 389 阅读 · 0 评论 -
初识 git 上传代码到github 掉坑里了哦
想把暑假没做完的地铁网络售票系统上传到github 本以为花个几分钟就好了 没想到弄了那么长时间 实在是不应该啊 下面说说我的遭遇上传代码到github方法: ①用github的客户端(GUI 易操作 ) ②用git上传也是在git上传时候遇到的坑步骤:详细步骤:http://blog.csdn.net/fanfan4569/article/details/52824800$ git init$原创 2016-10-15 20:23:29 · 420 阅读 · 0 评论