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