$ git clone -n https://gitee.com/mgb01105731/memcached.git /var/lib/mock/dist-an23-build-323089-68397/root/chroot_tmpdir/scmroot/memcached Cloning into '/var/lib/mock/dist-an23-build-323089-68397/root/chroot_tmpdir/scmroot/memcached'... $ git reset --hard origin/a23 HEAD is now at 7f3d06d update to 1.6.22