$ git clone -n https://gitee.com/src-anolis-os/libreport.git /var/lib/mock/dist-an8.9-build-382940-71837/root/chroot_tmpdir/scmroot/libreport Cloning into '/var/lib/mock/dist-an8.9-build-382940-71837/root/chroot_tmpdir/scmroot/libreport'... $ git fetch origin 50ccaa4d8c73d9fa0a00e71fd6adb46561a66eac:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libreport * [new ref] 50ccaa4d8c73d9fa0a00e71fd6adb46561a66eac -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 50ccaa4 remove unwanted requires in anaconda pacakge