$ git clone -n https://src.fedoraproject.org/rpms/ghc-req.git /var/lib/mock/f38-build-722980-98955/root/chroot_tmpdir/scmroot/ghc-req Cloning into '/var/lib/mock/f38-build-722980-98955/root/chroot_tmpdir/scmroot/ghc-req'... $ git fetch origin 6d8f31c8393832d6502b882557f5740d19301090:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-req * [new ref] 6d8f31c8393832d6502b882557f5740d19301090 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d8f31c Convert to %autorelease and %autochangelog