git 合并子分支
2024-08-26 00:23:15
1.子分支
$ git status
位于分支 base
无文件要提交,干净的工作区
2.子分支更新
$ git pull origin base
来自 http://106.14.59.204/jiqing/baseadmin
* branch base -> FETCH_HEAD
Already up-to-date.
3.子分支提交
$ lazygit.sh 微调
[base c987a22] 微调
3 files changed, 73 insertions(+)
rename Api/Conf/{config.php.example => config_example.php} (100%)
rename Cron/Conf/{config.php.example => config_example.php} (100%)
create mode 100755 sh/init.sh
对象计数中: 8, 完成.
Delta compression using up to 4 threads.
压缩对象中: 100% (5/5), 完成.
写入对象中: 100% (8/8), 1.04 KiB | 0 bytes/s, 完成.
Total 8 (delta 1), reused 0 (delta 0)
remote:
remote: To create a merge request for base, visit:
remote: http://106.14.59.204/jiqing/baseadmin/merge_requests/new?merge_request%5Bsource_branch%5D=base
remote:
To http://106.14.59.204/jiqing/baseadmin.git
48a5f24..c987a22 base -> base
4.切换到主分支
$ git checkout master
切换到分支 'master'
您的分支与上游分支 'origin/master' 一致。
5.合并子分支
$ git merge base
更新 48a5f24..c987a22
Fast-forward
Api/Conf/{config.php.example => config_example.php} | 0
Cron/Conf/{config.php.example => config_example.php} | 0
sh/init.sh | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+)
rename Api/Conf/{config.php.example => config_example.php} (100%)
rename Cron/Conf/{config.php.example => config_example.php} (100%)
create mode 100755 sh/init.sh
最新文章
- java多线程之CAS
- 搭建Apache+MySQL+PHP环境
- lua代码优化(转)
- Divide Groups(分组)
- 聊聊GIS中那些坐标系
- UVA 673 Parentheses Balance (栈)
- 【BZOJ1189】紧急疏散(二分答案,最大流)
- Java中回调函数编写
- MYSQL数据库设计规范与原则
- 手把手教你实现Android RecyclerView上拉加载功能
- 基于 Django的Ajax实现 文件上传
- js生成指定范围的随机数
- codeforces586B
- FastReport";Text";对象中的HTML标签介绍以及使用
- Jackson序列化日期类型的属性
- JAVA异常处理分析高级进界(下)
- PLSQL 触发器
- vue刷新当前路由:router-view 复用组件时不刷新的3种解决方案总结
- 01——微信小程序官方demo讲解——文件结构
- java反射(Field的应用)
热门文章
- ElasticSearch常用结构化搜索
- docker run 报错——WARNING: IPv4 forwarding is disabled. Networking will not work.
- 在win7上安装visual c++ 2008 redistributable 发生错误error 1935
- OpenSceneGraph FAQ 【转】
- 学会用core dump调试程序错误
- Segmentation fault(core dumped) 调试
- MIDI制作的相关软件
- mysql生产环境____主从同步修复案例
- MQTT 测试工具介绍
- mqtt client python example