vscode-git-graph icon indicating copy to clipboard operation
vscode-git-graph copied to clipboard

Allow to see and edit notes

Open shiipou opened this issue 3 years ago • 1 comments

Describe the feature that you'd like On the graph of commit, allowing us to see notes attached to commits can be great for additional informations that can be add by everyone.

Additional context (optional) For exemple, if I want to edit my note notes called dev-notes :

git fetch origin +refs/notes/dev-notes:refs/notes/dev-notes
git notes --ref dev-notes show v1.3.0-beta.1
git notes --ref dev-notes add -f -m 'Link to the doc: https://example.com/docs' v1.3.0-beta.1
git notes --ref dev-notes show v1.3.0-beta.1
git push origin refs/notes/semantic-release

PS: the note will be attached to the commit hash where the current tag is. It will not attached to the tag itself.

That can allow anybody to work on git repository without UI like we got on GitLab or GitHub. If didn't use it for the server.

shiipou avatar Aug 30 '22 07:08 shiipou

I think we can download all notes with the following :

git fetch origin +refs/notes/*:refs/notes/*

shiipou avatar Aug 30 '22 07:08 shiipou