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