$ git clone -n https://gitee.com/xiaolunfhb/tokyocabinet.git /var/lib/mock/dist-an8.6-build-102670-45598/root/chroot_tmpdir/scmroot/tokyocabinet Cloning into '/var/lib/mock/dist-an8.6-build-102670-45598/root/chroot_tmpdir/scmroot/tokyocabinet'... $ git reset --hard eb775839eb5aeaaacf4df6653fc0cc3ffe9c0dab HEAD is now at eb77583 spec: add doc sub package