$ git clone -n https://gitee.com/src-anolis-os/setserial.git /var/lib/mock/dist-an23-build-232051-62567/root/chroot_tmpdir/scmroot/setserial Cloning into '/var/lib/mock/dist-an23-build-232051-62567/root/chroot_tmpdir/scmroot/setserial'... $ git reset --hard origin/a23 HEAD is now at cad5f49 Init from upstream