mhutchie / vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
Other
1.9k stars 244 forks source link

Add "show HEAD" button #763

Open Timmmm opened 1 year ago

Timmmm commented 1 year ago

When clicked it jumps to the currently checked out commit.

Summary of the issue: When you've got a very old commit checked out, or a detached HEAD with unstaged changes it can be quite hard to find the HEAD commit.

Description outlining how this pull request resolves the issue: This adds a button to jump to the HEAD commit.

I just used one of the existing icons you already had but I guess it would make sense to use a distinct one. I couldn't find a good one anywhere though. :-/

TheBrenny commented 1 year ago

Love the work! Hopefully it gets merged soon.

I think a longer term solution (and more maintainable one) would be to add a .btn class to all of the buttons and rewrite the CSS to be .btn instead of #thisBtn, #thatBtn, #anotherBtn, etc.

Timmmm commented 1 year ago

Yeah I don't think it will be sadly - this extension seems to be not maintained, at least currently. Bit of a shame given how good it is, but people have lives...

boan-jfm commented 9 months ago

Yeah I don't think it will be sadly - this extension seems to be not maintained, at least currently. Bit of a shame given how good it is, but people have lives...

Michael Hutchison has not committed anything to github since 2021: https://github.com/mhutchie?tab=overview&from=2021-12-01&to=2021-12-31

And it looks like the license do not allow to fork the project and continue it?

Permission is NOT GRANTED to publish, distribute, sublicense, and/or sell derivative works of the Software. -- https://github.com/mhutchie/vscode-git-graph/blob/v1.30.0/LICENSE