git version info & svn version info map(七)

To generate the same version number as SVN, we can generate the same version number as SVN with the following command.

# git rev-list HEAD -n 1 | cut -c 1-7
b056dac

# git rev-list HEAD -n 1

b056dacb0913d9446ee3e607c4c82347c721d70e

# git rev-list HEAD | wc -l | awk '{print $1}'
38
# git rev-list HEAD
b056dacb0913d9446ee3e607c4c82347c721d70e
0ca7a8499d3c5f67d3ce3b17faa5c00dac83951c
0b998e631d9a66748e948edcbe4b818d58d58625
4120e86cebd7c3cb66dc99e944540d5af3ca510c
c29f30944ccd740ecf9109a89dd7024b5e8b7f49
0dca2f478197f8fe6172eacfca7a64806ead9072
108f6d1174f6825339627d097cfb456600871080
b71d63dd5433d6c69bec6597b633cac99cd6d25b
84ce0f57725cf1783ea4b4a7c46ff190b0a91ebc
d252d8f53b2615a052996050513f47e264792428
dd07b59865e7ea14ed4c6e9dda26c94a217b5912
9ad971e2890a1a9b4766f1eb52e8b952c7415296
c2547338118c306269d510afb18dd8cb4e97c2cb
2cc53d61615dbde54b54e5fbb13123e66cebbbf3
19f4c154e275b90d97c0fed17f7ba315f2bf69a1
965b5674ad5d27f8dd722ae4450c7590dfff34c5
e141f1fd44752033d2e759f32bbb81143ab9bf31
bd3050a8d28c517f529d576b82def51e67c1f108
6a29694a22817c1e97eb41ef5cbdec794bd86fe3
ff917346cf68eedf5a06459bc48ce59d25bf2a40
4e318bc026403173bc7694768b25462c862316fa
3ce18688f66cdeb5eafdb67671818d5a5a5155bd
508d5bcea2e4947a9cda01b279a9b9fd4ec0d5df
09cc08ef9b1cf5659978d05037c85f70f998791b
697b12dd5d5154ab45ae4978a95b1a292fe52359
daab935d4bef216d5dc7eeef439d751db31d2723
7b47b8f8a34592823603aa08da44b0eb4ea286b8
b14f0b77211ba968ab67572ad26f8997099c4d2f
4d4f2339955014f45872d0b847d9932c02f52fa1
fb9722bae2277717491838c9322395d48c5c6d83
ff62038abab30f5af819fc0d297f910b1bb53e93
857eb712dce31eb92e5e37fbd49aa3dbfbd34463
258be26d8c0f5bfe60a11458ba0e0d547a4fbfa4
bfe66b824cb7d785c258e9b9b951bf4ffaed5766
0bc452fc28873d5f2c24030adf7aa97467983411
1c55fb7a7cc221910ddbfe940ea91f3541c5014b
4cec920ae6e7fa19bb6f647ceb094f53f5e67f21
26c804032863225009cab722cd4981f74f27c271

posted @ 2019-10-15 16:14  嵌入式实操  阅读(3514)  评论(0编辑  收藏  举报