Skip to content

update README.md to show how to _get_ the blob sha of the previous commit. #269

Open
@Pomax

Description

@Pomax

Right now under the read/write/update section of the readme, there is the following text:

To update a file you need the blob SHA of the previous commit:

but the code that follows does not show how to get that SHA at all, it just shows a meaningless dummy sha. Can that example be updated to show how to actually get the previous commit sha? (Do we use fetch? do we call something on commits? I can't tell =S)

(Also, the section is titled read/write/update but the examples shown only show off reading and updating. Plain writing does not appear as one of the examples)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions