$ git clone -n https://gitee.com/yueeranna/libvirt.git /var/lib/mock/dist-an23-build-232825-62623/root/chroot_tmpdir/scmroot/libvirt Cloning into '/var/lib/mock/dist-an23-build-232825-62623/root/chroot_tmpdir/scmroot/libvirt'... $ git reset --hard 0a410f758f601b4e339a6740d866d65200492eb7 HEAD is now at 0a410f7 init from upstream