随笔分类 - GIT
Git、GitHub
摘要:查看远程仓库的地址 【git remote -v 】 查看远程仓库地址 切换远程仓库地址: 方式一:修改远程仓库地址 【git remote set-url origin URL】 更换远程仓库地址,URL为新地址。 方式二:先删除远程仓库地址,然后再添加 【git remote rm origin
阅读全文
摘要:一、顺利提交无冲突情况(diff->add->fetch->pull->commit->push) 1.git status 查看状态 2. git diff head 比较当前工作区与版本库的不同 3. git add -A 确认无误后增加到暂存区 4.git fetch origin 更新远程仓
阅读全文
摘要:git add filename 将本地工作区文件加入缓存区 git commit filename -m '提交文件注释' git status 查看当前工作区状态 git fetch origin 从远程分支拉取 , 如果拉取不成功,证明有文件冲突 git pull origin ; git s
阅读全文
摘要:GitHub 的简单使用
Git 基本命令实战
Git 连接远程仓库
Eclipse 进行Git项目开发
阅读全文

浙公网安备 33010602011771号