$ git clone -n https://src.fedoraproject.org/rpms/debugedit.git /var/lib/mock/f42-build-861825-170420/root/chroot_tmpdir/scmroot/debugedit Cloning into '/var/lib/mock/f42-build-861825-170420/root/chroot_tmpdir/scmroot/debugedit'... $ git fetch origin 6662f9f163025f37ff980caac7fa2a87ab0719f9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/debugedit * [new ref] 6662f9f163025f37ff980caac7fa2a87ab0719f9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6662f9f 5.1-2 - Add 0001-find-debuginfo-Check-files-are-writable-before-modif.patch