我寻求命令让我的生活变得最简单.
问题: 有一个包含来源的项目.随着时间的推移,我推出了更多版本:v1.0.1直到v1.0.14(最新版本)版本v1.0.12是一个补丁并修复了myserver的特殊功能,但myserver实际上安装了v1.0.10(我应该从v1.0.10更新到v1.0.12)
问题: 如何创建命令以将特定服务器更新为外观版本v1.0.12
我知道命令git pull但不明白如何做正确的方式我也想要一些选项来防止合并冲突
起点是我做的命令:
$ git pull --rebase origin refs/tags/1.0.13:refs/tags/1.0.13
From http://192.168.0.12/gitlab/AF-NG/frontend-dist
* [new tag] 1.0.13 -> 1.0.13
* [new tag] 1.0.11 -> 1.0.11
* [new tag] 1.0.12 -> 1.0.12
* [new tag] 1.0.14 -> 1.0.14
First, rewinding head to replay your work on top of it...
Applying: 2.0.0
Using index info to reconstruct a base tree...
------
Falling back to patching base and 3-way merge...
Auto-merging styles/css/production.min.css
CONFLICT (add/add): Merge conflict in file.css
When you …Run Code Online (Sandbox Code Playgroud)