$ git clone -n https://gitee.com/happy_orange/liblockfile.git /var/lib/mock/dist-an23-build-96295-45580/root/chroot_tmpdir/scmroot/liblockfile Cloning into '/var/lib/mock/dist-an23-build-96295-45580/root/chroot_tmpdir/scmroot/liblockfile'... $ git reset --hard baae02d5fdd4e927f41d8a63c81ac969b4fff71a HEAD is now at baae02d Init package from upstream