$ git clone -n https://gitee.com/fundawang/libhandy_1.git /var/lib/mock/dist-an23-build-175736-59077/root/chroot_tmpdir/scmroot/libhandy_1 Cloning into '/var/lib/mock/dist-an23-build-175736-59077/root/chroot_tmpdir/scmroot/libhandy_1'... $ git reset --hard c479446006a907815f94223f685f67983fbaa9fe HEAD is now at c479446 1.8.0