$ git clone -n https://gitee.com/ocs-upgrade/sanlock.git /var/lib/mock/dist-ocs23-build-212541-15360/root/chroot_tmpdir/scmroot/sanlock Cloning into '/var/lib/mock/dist-ocs23-build-212541-15360/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 5c10a8e Upgrade to version 3.9.3