$ git clone -n https://gitee.com/src-anolis-os/glibc.git /var/lib/mock/dist-an23-build-320509-67928/root/chroot_tmpdir/scmroot/glibc Cloning into '/var/lib/mock/dist-an23-build-320509-67928/root/chroot_tmpdir/scmroot/glibc'... $ git reset --hard origin/a23 HEAD is now at df770ce update glibc.spec.