fix: update description format for git request-pull in toc-source.json to include code block for better readability

This commit is contained in:
mikerambil
2025-07-10 22:26:39 -05:00
parent a3c102c9a6
commit 2e3653ee7d

View File

@@ -58,7 +58,7 @@
"examples": [
{
"code": "git request-pull main https://github.com/example/repo.git feature-branch",
"description": "Generates a summary like:\n\nThe following changes since commit 1234567... (main):\n\n Some previous commit message\n\nare available in the Git repository at:\n\n https://github.com/example/repo.git feature-branch\n\nfor you to fetch changes up to 89abcde... (feature-branch):\n\n New feature commit message\n Another commit message\n\n----------------------------------------------------------------\n file1.txt | 10 ++++++++++\n file2.js | 5 +++++\n 2 files changed, 15 insertions(+)"
"description": "Generates a summary like:\n\n```The following changes since commit 1234567... (main):\n\n Some previous commit message\n\nare available in the Git repository at:\n\n https://github.com/example/repo.git feature-branch\n\nfor you to fetch changes up to 89abcde... (feature-branch):\n\n New feature commit message\n Another commit message\n\n----------------------------------------------------------------\n file1.txt | 10 ++++++++++\n file2.js | 5 +++++\n 2 files changed, 15 insertions(+)\n```"
},
{
"code": "git request-pull v1.0 https://github.com/example/repo.git v1.1",