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