$ git clone -n https://gitee.com/gaohongmei/ed.git /var/lib/mock/dist-an23-build-248526-63274/root/chroot_tmpdir/scmroot/ed Cloning into '/var/lib/mock/dist-an23-build-248526-63274/root/chroot_tmpdir/scmroot/ed'... $ git reset --hard 5e5f0c7d7a0aa94ea9671374a57461f87e66e7fe HEAD is now at 5e5f0c7 1.19