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