$ git clone -n https://src.fedoraproject.org/rpms/subnetcalc.git /var/lib/mock/f40-build-759180-120365/root/chroot_tmpdir/scmroot/subnetcalc Cloning into '/var/lib/mock/f40-build-759180-120365/root/chroot_tmpdir/scmroot/subnetcalc'... $ git reset --hard eeb7a23686d6d388fac5faeda18756d11fbba2b0 HEAD is now at eeb7a23 Update to 2.4.23