$ git clone -n https://gitee.com/src-anolis-os/log4cpp.git /var/lib/mock/dist-an8.6-build-107770-45681/root/chroot_tmpdir/scmroot/log4cpp Cloning into '/var/lib/mock/dist-an8.6-build-107770-45681/root/chroot_tmpdir/scmroot/log4cpp'... $ git reset --hard 1a172beff49751400b276d39fa5c4f9109352b63 HEAD is now at 1a172be import log4cpp-1.1.3-1.el8.src.rpm