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