$ git clone -n https://src.fedoraproject.org/rpms/qucs-s.git /var/lib/mock/f37-build-680832-77128/root/chroot_tmpdir/scmroot/qucs-s Cloning into '/var/lib/mock/f37-build-680832-77128/root/chroot_tmpdir/scmroot/qucs-s'... $ git reset --hard dd7977a54d3a139546734a71b26abe29fef79a8b HEAD is now at dd7977a New version