$ git clone -n https://gitee.com/happy_orange/sparsehash.git /var/lib/mock/dist-an23-build-236367-62821/root/chroot_tmpdir/scmroot/sparsehash Cloning into '/var/lib/mock/dist-an23-build-236367-62821/root/chroot_tmpdir/scmroot/sparsehash'... $ git reset --hard 8b12ddb2cfef74d62851bca6d35e0d33a69c8f72 HEAD is now at 8b12ddb init package