$ git clone -n https://gitee.com/src-anolis-os/chkconfig.git /var/lib/mock/dist-an8.10-build-544327-86672/root/chroot_tmpdir/scmroot/chkconfig Cloning into '/var/lib/mock/dist-an8.10-build-544327-86672/root/chroot_tmpdir/scmroot/chkconfig'... $ git fetch origin 1eaa4c76d5fa139de62430fb0e2440b646e27b50:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/chkconfig * [new ref] 1eaa4c76d5fa139de62430fb0e2440b646e27b50 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1eaa4c7 fix: chkconfig — Fix Source0 URL to use macros and correct changelog date for successful SRPM build.