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