git clone 整个仓库后使用,以下命令就可以取得该 tag 对应的代码了。 git checkout tag_name 但是,这时候 git 可能会提示你当前处于一个“detached HEAD" 状态。 因为 tag 相当于是一个快照,是不能更改它的代码的。 如果要在 tag 代码的基础上做 Read More
posted @ 2020-01-21 12:39 kekemuyu Views(7535) Comments(0) Diggs(0) Edit
git log --pretty=oneline tagA...tagB If you just wanted commits reachable from tagB but not tagA: git log --pretty=oneline tagA..tagB or git log --pre Read More
posted @ 2020-01-21 12:21 kekemuyu Views(1483) Comments(0) Diggs(1) Edit