$ git clone -n https://gitee.com/src-anolis-os/supermin.git /var/lib/mock/dist-an23-build-234704-62725/root/chroot_tmpdir/scmroot/supermin Cloning into '/var/lib/mock/dist-an23-build-234704-62725/root/chroot_tmpdir/scmroot/supermin'... $ git reset --hard origin/a23 HEAD is now at 85d848f init from upstream