$ git clone -n https://gitee.com/src-anolis-os/memcached.git /var/lib/mock/dist-an23-build-118805-45957/root/chroot_tmpdir/scmroot/memcached Cloning into '/var/lib/mock/dist-an23-build-118805-45957/root/chroot_tmpdir/scmroot/memcached'... $ git reset --hard origin/a23 HEAD is now at e46da1b update memcached to 1.6.16