$ git clone -n https://src.fedoraproject.org/rpms/ghc-split.git /var/lib/mock/f38-build-side-42-init-devel-771586-27758/root/chroot_tmpdir/scmroot/ghc-split Cloning into '/var/lib/mock/f38-build-side-42-init-devel-771586-27758/root/chroot_tmpdir/scmroot/ghc-split'... $ git fetch origin 357be1b5c93bb4aaf0458495fc14e6f8c5e1253e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-split * [new ref] 357be1b5c93bb4aaf0458495fc14e6f8c5e1253e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 357be1b Convert to %autorelease and %autochangelog