• Updates an existing GitHub Gist with new content and details.

    Parameters

    • gistId: undefined | string

      The ID of the Gist to be updated.

    • name: string

      The new name for the snippet file.

    • oldName: string

      The old name of the snippet file that will be replaced.

    • text: undefined | string

      The new content of the snippet.

    • description: undefined | string

      The new description of the Gist.

    Returns Promise<any>

    The updated Gist data.