$ git clone -n https://gitee.com/chenqi-hello/yocto-srpm.git /var/lib/mock/dist-an8.6-build-91547-45350/root/chroot_tmpdir/scmroot/yocto-srpm Cloning into '/var/lib/mock/dist-an8.6-build-91547-45350/root/chroot_tmpdir/scmroot/yocto-srpm'... $ git reset --hard a504a7701f5793c6601cec7b68685c40479358bf HEAD is now at a504a77 Init repo with necessary source files