$ git clone -n https://src.fedoraproject.org/rpms/ghc-th-expand-syns.git /var/lib/mock/f38-build-side-42-init-devel-701621-27070/root/chroot_tmpdir/scmroot/ghc-th-expand-syns Cloning into '/var/lib/mock/f38-build-side-42-init-devel-701621-27070/root/chroot_tmpdir/scmroot/ghc-th-expand-syns'... $ git fetch origin 13c078ce1f4b0e8b4e09951bc20efd0f275b890a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-th-expand-syns * [new ref] 13c078ce1f4b0e8b4e09951bc20efd0f275b890a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 13c078c Convert to %autorelease and %autochangelog