$ git clone -n https://gitee.com/yueeranna/graphite2.git /var/lib/mock/dist-an23-build-235840-62789/root/chroot_tmpdir/scmroot/graphite2 Cloning into '/var/lib/mock/dist-an23-build-235840-62789/root/chroot_tmpdir/scmroot/graphite2'... $ git reset --hard e771dd407f8640c63bf3a904920eec766793afd2 HEAD is now at e771dd4 bump version to rebuild