$ git clone -n https://gitee.com/src-anolis-os/hyperv-daemons.git /var/lib/mock/dist-an8.7-build-263912-63945/root/chroot_tmpdir/scmroot/hyperv-daemons Cloning into '/var/lib/mock/dist-an8.7-build-263912-63945/root/chroot_tmpdir/scmroot/hyperv-daemons'... $ git reset --hard 101b52b5f69ecf08bceb4b25255368e3cee78467 HEAD is now at 101b52b update to hyperv-daemons-0-0.34.20180415git.el8