$ git clone -n https://src.fedoraproject.org/rpms/qmapshack.git /var/lib/mock/f40-build-763263-122453/root/chroot_tmpdir/scmroot/qmapshack Cloning into '/var/lib/mock/f40-build-763263-122453/root/chroot_tmpdir/scmroot/qmapshack'... $ git fetch origin 3bcb4d5416aa948503c505d71b8795a6c39c404f:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/qmapshack * [new ref] 3bcb4d5416aa948503c505d71b8795a6c39c404f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3bcb4d5 Update to 1.17.1 (rhbz#2254510)