$ git clone -n https://gitee.com/gcdota930915/vconfig.git /var/lib/mock/dist-an23-build-343553-70032/root/chroot_tmpdir/scmroot/vconfig Cloning into '/var/lib/mock/dist-an23-build-343553-70032/root/chroot_tmpdir/scmroot/vconfig'... $ git reset --hard aa994bc280c711daa6486cd630f1f6454d453263 HEAD is now at aa994bc Correct the source tar