随笔- 310  文章- 1  评论- 0  阅读- 85655 

随笔分类 -  git

git将master分支合并到其他分支
摘要:1、首先切换到master分支 #git checkout master 2、将master的更新pull到本地 #git pull origin master 3、切换到目标分支 #git checkout 目标分支名 4、将master合并到目标分支 #git merge master 合并可能 阅读全文
posted @ 2022-07-07 19:48 boye169 阅读(1984) 评论(0) 推荐(0) 编辑
git 根据tag创建分支
摘要:克隆分支 //克隆主分支 git clone git@test.com:ptc/boye.git //克隆指定分支 git clone -b test_brance git@test.com:ptc/boye.git test_brance 创建新的分支 git branch newbranch v 阅读全文
posted @ 2022-07-01 11:07 boye169 阅读(779) 评论(0) 推荐(0) 编辑
linux下安装git
摘要:安装 yum -y install git 查看安装版本 git --version 阅读全文
posted @ 2022-01-14 17:21 boye169 阅读(16) 评论(0) 推荐(0) 编辑
GIT 克隆代码、新建分支
摘要:克隆代码 git clone git@gitee.com/aa/test.git #克隆主分支 git clone -b boye-dev git@gitee.com/aa/test.git boye-dev #克隆boye-dev分支 创建并切换到新分支 git clone git@gitee.c 阅读全文
posted @ 2021-10-15 10:11 boye169 阅读(184) 评论(0) 推荐(0) 编辑
git基本使用
摘要:git config --global core.autocrlf false 不会自动将UNIX 格式转换为DOS格式 git config --global user.name "liboye" # 配置用户名 git config --global user.email "liboye@126 阅读全文
posted @ 2020-12-04 23:46 boye169 阅读(72) 评论(0) 推荐(1) 编辑
git基本操作
摘要:git config --global core.autocrlf false 不会自动将UNIX 格式转换为DOS格式git config --global user.name "zhangsan"git config --global user.email "zhangsan@126.com"s 阅读全文
posted @ 2020-09-03 23:48 boye169 阅读(147) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示