Skip to content

fix(refs): address Copilot review followups from #26#27

Merged
CybotTM merged 1 commit into
mainfrom
fix/copilot-review-followups
Apr 21, 2026
Merged

fix(refs): address Copilot review followups from #26#27
CybotTM merged 1 commit into
mainfrom
fix/copilot-review-followups

Conversation

@CybotTM

@CybotTM CybotTM commented Apr 21, 2026

Copy link
Copy Markdown
Member

Follow-up to Copilot review comments on the bare-worktree + signed-commits refs merged in #26:

Changes

advanced-git.md:

  • Intellij -> IntelliJ (correct product capitalization)
  • **Setup a new project this way:** -> **Set up a new project this way:** (verb form)
  • Fix worktree-remove path: git -C .bare worktree remove ../feature-x so the path targets the worktree that the earlier worktree add ../feature-x actually created (a relative feature-x from .bare/ would miss it)

commit-conventions.md:

  • Broaden the -S rationale from 'SSH agent' to 'signing agent (gpg-agent, or ssh-agent when using gpg.format=ssh)' — the previous wording conflated the two. GPG-only users have gpg-agent + pinentry; only GPG-SSH users see SSH-agent involvement.
  • Split 'Never skip hooks' into two rules: hooks (--no-verify) and signing (--no-gpg-sign / commit.gpgsign=false). They were incorrectly bundled — --no-gpg-sign disables signing, it does not bypass hooks.

Thread IDs resolved after merge

  • PRRT_kwDOQoBsD858Z5FF (worktree path)
  • PRRT_kwDOQoBsD858Z5Fg (signing agent)
  • PRRT_kwDOQoBsD858Z5Fv (hooks vs signing)
  • PRRT_kwDOQoBsD858Z5F4 (IntelliJ)
  • PRRT_kwDOQoBsD858Z5GC (Set up)

- advanced-git.md: 'Intellij' -> 'IntelliJ'; 'Setup' -> 'Set up' (verb
  form); correct 'worktree remove feature-x' to '../feature-x' so the
  command actually targets the worktree created by the earlier 'worktree
  add ../feature-x' example (feature-x relative to .bare/ would miss it)
- commit-conventions.md: broaden the '-S' rationale to cover gpg-agent
  and ssh-agent (GPG-SSH) signing — 'SSH agent' alone was misleading
  for GPG users; split 'never skip hooks' into two rules so the bundled
  signing flags aren't incorrectly lumped under hook-bypass

Threads:
- PRRT_kwDOQoBsD858Z5FF (worktree path)
- PRRT_kwDOQoBsD858Z5Fg (signing agent)
- PRRT_kwDOQoBsD858Z5Fv (hooks vs signing)
- PRRT_kwDOQoBsD858Z5F4 (IntelliJ)
- PRRT_kwDOQoBsD858Z5GC (Set up)

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Copilot AI review requested due to automatic review settings April 21, 2026 17:39
@CybotTM CybotTM merged commit 80d4998 into main Apr 21, 2026
11 checks passed
@CybotTM CybotTM deleted the fix/copilot-review-followups branch April 21, 2026 17:40
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request improves the Git workflow documentation by correcting typos, fixing a relative path in a worktree removal example, and refining the guidelines for commit signing and hook bypasses. A review comment points out a technical inaccuracy regarding how Git handles signing failures when global configuration is used, suggesting a more precise explanation for why the explicit -S flag is necessary in isolated environments.

Comment thread skills/git-workflow/references/commit-conventions.md

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Follow-up documentation refinements to the git-workflow skill references, incorporating review feedback from PR #26 and clarifying guidance around worktrees and commit signing.

Changes:

  • Fix IntelliJ capitalization and “Set up” verb form in advanced-git.md.
  • Correct the git worktree remove path so it targets the worktree created by the earlier worktree add command.
  • Clarify commit signing rationale and separate “skip hooks” vs “bypass signing” guidance in commit-conventions.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
skills/git-workflow/references/commit-conventions.md Clarifies the signing-agent explanation for -S and splits hook-bypass vs signing-bypass rules.
skills/git-workflow/references/advanced-git.md Fixes product capitalization/grammar and corrects the worktree removal path to match the documented layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

CybotTM added a commit that referenced this pull request Apr 21, 2026
fix(commit-conventions): address Copilot second-sweep finding from #27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants