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