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