$ git clone -n https://gitee.com/ocs-upgrade/etcd.git /var/lib/mock/dist-ocs23-build-284656-27555/root/chroot_tmpdir/scmroot/etcd Cloning into '/var/lib/mock/dist-ocs23-build-284656-27555/root/chroot_tmpdir/scmroot/etcd'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/etcd * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ae22f5b Upgrade to version 3.5.16