$ git clone -n https://gitee.com/src-anolis-os/memcached.git /var/lib/mock/dist-an8-build-74117-38952/root/chroot_tmpdir/scmroot/memcached Cloning into '/var/lib/mock/dist-an8-build-74117-38952/root/chroot_tmpdir/scmroot/memcached'... $ git reset --hard origin/a8 HEAD is now at f81f985 Better compatibility for both gcc8+glibc2.28 and gcc10+glibc2.32