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