$ git clone -n https://gitee.com/gcdota930915/sanlock.git /var/lib/mock/dist-an23.3-build-417510-72868/root/chroot_tmpdir/scmroot/sanlock Cloning into '/var/lib/mock/dist-an23.3-build-417510-72868/root/chroot_tmpdir/scmroot/sanlock'... $ git fetch origin 0deaa48fc701d14bd93d839b200b55f55f74bc4e:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/sanlock * [new ref] 0deaa48fc701d14bd93d839b200b55f55f74bc4e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0deaa48 Refer to CentOS Stream sanlock-3.9.5-4