$ git clone -n https://gitee.com/guyvwang/libdrm.git /var/lib/mock/dist-an23-build-251155-63407/root/chroot_tmpdir/scmroot/libdrm Cloning into '/var/lib/mock/dist-an23-build-251155-63407/root/chroot_tmpdir/scmroot/libdrm'... $ git reset --hard bd2a89044cb5fe26e09cdb41d51f6c79b5289ba9 HEAD is now at bd2a890 optimise spec file