$ git clone -n https://gitee.com/sss_knight2020/yocto.git /var/lib/mock/dist-an7_9-updates-build-403205-72063/root/chroot_tmpdir/scmroot/yocto Cloning into '/var/lib/mock/dist-an7_9-updates-build-403205-72063/root/chroot_tmpdir/scmroot/yocto'... $ git reset --hard f7def85be9f99dcb4ba488bead201f670304379b HEAD is now at f7def85be9 build-appliance-image: Update to scarthgap head revision