$ git clone -n https://src.fedoraproject.org/rpms/darktable.git /var/lib/mock/f41-build-857912-168259/root/chroot_tmpdir/scmroot/darktable Cloning into '/var/lib/mock/f41-build-857912-168259/root/chroot_tmpdir/scmroot/darktable'... $ git fetch origin 6c7268641ab3f5011569cf6cc827e4988854e318:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/darktable * [new ref] 6c7268641ab3f5011569cf6cc827e4988854e318 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c72686 adds 17257.patch