$ git clone -n https://gitee.com/cobratoxin/libyaml.git /var/lib/mock/dist-an8.7-build-234763-62522/root/chroot_tmpdir/scmroot/libyaml Cloning into '/var/lib/mock/dist-an8.7-build-234763-62522/root/chroot_tmpdir/scmroot/libyaml'... $ git reset --hard a6b30eaebc43d758951ebfbcd6502f4c0c3145f8 HEAD is now at a6b30ea import libyaml-0.1.7-5.el8.src.rpm