$ git clone -n https://gitee.com/renbo02/perl-common-sense.git /var/lib/mock/dist-an23.3-build-428528-73027/root/chroot_tmpdir/scmroot/perl-common-sense Cloning into '/var/lib/mock/dist-an23.3-build-428528-73027/root/chroot_tmpdir/scmroot/perl-common-sense'... $ git fetch origin 47be405b86d66519608727bc31a4fb3c294735e5:KOJI_FETCH_HEAD From https://gitee.com/renbo02/perl-common-sense * [new ref] 47be405b86d66519608727bc31a4fb3c294735e5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 47be405 Macro %rpmversion is a built-in since rpm >=4.18.2