$ git clone -n https://gitee.com/happy_orange/libdlb.git /var/lib/mock/dist-an23-build-222299-62187/root/chroot_tmpdir/scmroot/libdlb Cloning into '/var/lib/mock/dist-an23-build-222299-62187/root/chroot_tmpdir/scmroot/libdlb'... $ git reset --hard bfa1c4c567cfb1c61e817080d4d098bedde16a4b HEAD is now at bfa1c4c init package