$ git clone -n https://gitee.com/src-anolis-os/dwarves.git /var/lib/mock/dist-an23-build-123334-46111/root/chroot_tmpdir/scmroot/dwarves Cloning into '/var/lib/mock/dist-an23-build-123334-46111/root/chroot_tmpdir/scmroot/dwarves'... $ git reset --hard 71e908bbb507cf17b9d0baf842209e2bd57db0c2 HEAD is now at 71e908b init from upstream