随笔分类 - git使用教程
摘要:1. 分支操作 创建分支 :git branch (branchname) 切换分支命令: git checkout (branchname) 获取远程所有分支: git fetch 查看所有远程分支: git branch -r 创建与远程分支关联的本地分支: git checkout --tra
阅读全文
摘要:1. 初始化本地项目 $ git init 2. 将远程仓库和本地仓库关联 $ git remote add origin https://gitee.com/用户个性地址/HelloGitee.git 3. 将远程仓库更新到本地 $ git pull origin master 4. 添加并提交项
阅读全文