$ git clone -n https://gitee.com/fundawang/libgpg-error.git /var/lib/mock/dist-an23-build-357675-71155/root/chroot_tmpdir/scmroot/libgpg-error Cloning into '/var/lib/mock/dist-an23-build-357675-71155/root/chroot_tmpdir/scmroot/libgpg-error'... $ git reset --hard d1fb2ab3eeb131f245b71bd9da88e0d6cb637215 HEAD is now at d1fb2ab 1.48