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