$ git clone -n https://gitee.com/mgb01105731/memcached_1.git /var/lib/mock/dist-an23-build-118561-45904/root/chroot_tmpdir/scmroot/memcached_1 Cloning into '/var/lib/mock/dist-an23-build-118561-45904/root/chroot_tmpdir/scmroot/memcached_1'... $ git reset --hard e46da1b846c71a5f8bef8633621905b93db322db HEAD is now at e46da1b update memcached to 1.6.16