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