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