$ git clone -n https://gitee.com/lumize/ubs-virt.git /var/lib/mock/dist-an8.10-build-585481-97572/root/chroot_tmpdir/scmroot/ubs-virt Cloning into '/var/lib/mock/dist-an8.10-build-585481-97572/root/chroot_tmpdir/scmroot/ubs-virt'... $ git fetch origin 91552abd7b10d2d91e71b89e900193d00ef858a5:KOJI_FETCH_HEAD From https://gitee.com/lumize/ubs-virt * [new ref] 91552abd7b10d2d91e71b89e900193d00ef858a5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 91552ab ubs-virt.spec 中加入对bc的引用