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