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