$ git clone -n https://gitee.com/yummypeng/memcached.git /var/lib/mock/dist-an23-build-253066-63501/root/chroot_tmpdir/scmroot/memcached Cloning into '/var/lib/mock/dist-an23-build-253066-63501/root/chroot_tmpdir/scmroot/memcached'... $ git reset --hard 1b3010addce9fdb2d3bd571b46bc2421469788a6 HEAD is now at 1b3010a Refactor the specfile