This topic created in 2302 days ago, the information mentioned may be changed or developed.
Supplement 1 · Jul 25, 2020
公司同时在用 svn 和 git,svn 的仓库都有一个数字的版本号,gitlab 的仓库是否也能设置成类似的样子呢
5 replies • 2020-07-27 11:01:54 +08:00
 |
|
打 tag
|
 |
|
ETiVJul 25, 2020 via iPhone
2
再接一个 Jenkins,用它的 build ID 做版本号
|
 |
|
数字版本号只在线性提交记录上有意义。Git 是无成本分叉,如果你无视掉所有的分叉的话,可以用 rev-list 然后取行数的方法获得其中一条路径的提交版本。
|
 |
|
tag
|
 |
|
和 lab 没啥关系 git 就没有数字序号这个东西
|