$ git clone -n https://src.fedoraproject.org/rpms/httptunnel.git /var/lib/mock/f41-build-side-1-2641922-26755/root/chroot_tmpdir/scmroot/httptunnel Cloning into '/var/lib/mock/f41-build-side-1-2641922-26755/root/chroot_tmpdir/scmroot/httptunnel'... $ git fetch origin 87e7c4a6cbc4c9f54d033765f7b6ce610afa8c9e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/httptunnel * [new ref] 87e7c4a6cbc4c9f54d033765f7b6ce610afa8c9e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 87e7c4a convert GPLv2 license to SPDX