$ git clone -n https://gitee.com/src-anolis-os/rrdtool.git /var/lib/mock/dist-an23-build-218045-62033/root/chroot_tmpdir/scmroot/rrdtool Cloning into '/var/lib/mock/dist-an23-build-218045-62033/root/chroot_tmpdir/scmroot/rrdtool'... $ git reset --hard origin/a23 HEAD is now at 28b7f10 init package