$ git clone -n https://src.fedoraproject.org/rpms/hostapd.git /var/lib/mock/f41-build-831628-157044/root/chroot_tmpdir/scmroot/hostapd Cloning into '/var/lib/mock/f41-build-831628-157044/root/chroot_tmpdir/scmroot/hostapd'... $ git reset --hard c2be6a1d8f5ae2bb627ad587857b0e0974221591 HEAD is now at c2be6a1 Update to version 2.11