$ git clone -n https://gitee.com/src-anolis-os/yaml-cpp /var/lib/mock/module-mongodb-3.6-8070020221021092906-d4344feb-build-142165-53958/root/chroot_tmpdir/scmroot/yaml-cpp Cloning into '/var/lib/mock/module-mongodb-3.6-8070020221021092906-d4344feb-build-142165-53958/root/chroot_tmpdir/scmroot/yaml-cpp'... $ git reset --hard d38e3d02c0fac89ac03ce5f6ad413baf7ab22888 HEAD is now at d38e3d0 import yaml-cpp-0.6.1-2.el8+1359+ee4104af