$ git clone -n https://gitee.com/src-anolis-os/dwarves.git /var/lib/mock/dist-an23.3-build-416957-72867/root/chroot_tmpdir/scmroot/dwarves Cloning into '/var/lib/mock/dist-an23.3-build-416957-72867/root/chroot_tmpdir/scmroot/dwarves'... $ git fetch origin 5b3573f312f9f7fe327c9568100e4c90a7e01067:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/dwarves * [new ref] 5b3573f312f9f7fe327c9568100e4c90a7e01067 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b3573f Refer to CentOS Stream dwarves-1.27-3