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