摘要: 1.查看本地分支 git branch ;查看远程分支 git branch -r 一、分支创建与切换 1、创建新的分支 git branch branch_1,在当前分支也就是master分支上创建了一个名为branch_1的新分支。 2、使用 git checkout branch_1 命令来切 阅读全文
posted @ 2019-03-21 10:50 淡水留恋 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 1、创建远程仓库 2、初始化本地仓库git init git add . git commit -m "desc" 3、关联远程仓库 git remote add origin https://gitee.com/lp369/mypython.git 4、第一次先拉取远程库中的README.md和. 阅读全文
posted @ 2019-03-21 10:07 淡水留恋 阅读(6218) 评论(0) 推荐(0) 编辑