$ git clone -n https://gitee.com/src-anolis-os/dejagnu.git /var/lib/mock/dist-an23-build-239352-62918/root/chroot_tmpdir/scmroot/dejagnu Cloning into '/var/lib/mock/dist-an23-build-239352-62918/root/chroot_tmpdir/scmroot/dejagnu'... $ git reset --hard origin/a23 HEAD is now at 67e1dce Init package from upstream