You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per git show and git log, it is sometimes useful to see the "full" or "raw" commit header.
For example, if I want to mark another user as the --author or Co-Authored-By on a commit, I need to know the name & email they typically use in their commits.
Examples
git show output
$ git show 0a8910415d --no-patch
commit 0a8910415d07384e076bbc197ed1d1f1eb2500b2
Author: Matt Sturgeon <matt@sturgeon.me.uk>
Date: Wed Mar 6 12:55:27 2024 +0000
fix(nvim): Workaround which-key.nvim limitationUntil [#583] is resolved, we need to call `:WhichKey` manually.Luckily the `<C-w>` mapping is delegated to which-key so it's not a bigdeal...[#583]: https://github.com/folke/which-key.nvim/issues/583Co-authored-by: Adrian Chong <adrianchong@seekasia.com>
Mockup
A quick mockup I threw together in GIMP. The actual implementation could look significantly different if preferred.
Alternative
Alternatively, a link to the plain text commit header would also achieve the same underlying goal and may prove more useful for other purposes?
Description
Summary
As per
git show
andgit log
, it is sometimes useful to see the "full" or "raw" commit header.For example, if I want to mark another user as the
--author
orCo-Authored-By
on a commit, I need to know the name & email they typically use in their commits.Examples
git show
outputMockup
A quick mockup I threw together in GIMP. The actual implementation could look significantly different if preferred.
Alternative
Alternatively, a link to the plain text commit header would also achieve the same underlying goal and may prove more useful for other purposes?
Example URLs
MattSturgeon/nix-config@0a89104
The text was updated successfully, but these errors were encountered: