$ git clone -n https://gitee.com/happy_orange/keentuned.git /var/lib/mock/dist-an8.6-build-90754-45300/root/chroot_tmpdir/scmroot/keentuned Cloning into '/var/lib/mock/dist-an8.6-build-90754-45300/root/chroot_tmpdir/scmroot/keentuned'... $ git reset --hard c5e1668e883e2bf5edee4a65e58a03d6cdd6176a HEAD is now at c5e1668 rebuild