Git学习
叫我小郭、
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Git使用(一)--建立远程仓库
1.建立远程仓库步骤一:如下图,打开GitHub官网,点击Statr a project,开始一个项目。到了这一步,只要copy那个地址。步骤二:git安装安装完成后,设置git账号密码。$ git config --global user.name "Your Name" $ git config --global user.email "email@example.com"可以在需要做成仓库的...原创 2018-04-08 16:33:39 · 242 阅读 · 0 评论 -
Git报错(一)--fatal: remote origin already exists.
报错信息: fatal: remote origin already exists. 解决方法: 1.先输入 $ git remote rm origin 2.再输入 $ git remote add origin git@github.com:Gdk666/AwesomePos.git(cloneUrl)就可以解决了 git remote rm origin作用是删除以前的库,重新设置...原创 2018-04-10 11:24:50 · 214 阅读 · 0 评论 -
Git常用命令总结
1. git config --global user.name "Your Name" 设置你的名称 2.git config --blocal user.email "Your Email" 设置你的邮箱 3.git config --list 获取你的相关设置信息列表 4.mkdir demo 基于当前目录创建一个子目录 5.cd demo 进入demo这个目录 6.pw...原创 2019-01-02 22:54:14 · 866 阅读 · 0 评论 -
Git错误
1.fatal: Could not read from remote repository.的解决办法 查看远端地址 git remote –v 查看配置 git config --list 查看 状态 git status git add . // 暂存所有的更改 git checkout . // 丢弃所有的更改 git status // 查看文件状态 git commit ...原创 2019-01-02 22:54:55 · 516 阅读 · 0 评论
分享