$ git clone -n https://gitee.com/fundawang/prefixdevname.git /var/lib/mock/dist-an23-build-323782-68509/root/chroot_tmpdir/scmroot/prefixdevname Cloning into '/var/lib/mock/dist-an23-build-323782-68509/root/chroot_tmpdir/scmroot/prefixdevname'... $ git reset --hard f7d9044baa9e242bfe431a1aed42654d98d5c261 HEAD is now at f7d9044 0.2.0