$ git clone -n https://gitee.com/huoyuanhao/createrepo_c.git /var/lib/mock/dist-an8.6-build-129696-46203/root/chroot_tmpdir/scmroot/createrepo_c Cloning into '/var/lib/mock/dist-an8.6-build-129696-46203/root/chroot_tmpdir/scmroot/createrepo_c'... $ git reset --hard bee6159f74d2542619ff955c17f14d5471128fb0 HEAD is now at bee6159 Init package from upstream v0.20.0