Skip to content

Add button to see the latest version of file/folder #1029

@fregante

Description

@fregante

You ended up on a file in a random revision:

random revision

How do you get to master?

bunch of branches

Oh god.

What if... ?

goto HEAD (better icon needed, perhaps)

However finding HEAD is not always easy. We can literally use HEAD in the link, but that would not enable the edit/delete buttons. Example: https://github.com/sindresorhus/refined-github/blob/HEAD/source/content.js

Only folders seem to have this piece of information available on the page, so we might at least provide a link on these pages:

HEAD info on directories

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions