From f18ffb4f57c6746d9a0a5c6706bcddef0fe5004a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 11 Jul 2025 01:52:08 +0000 Subject: [PATCH] chore: auto-generate README.md from toc-source.json --- contents/git-command-reference-full-list.md | 4 ++++ contents/how-to-use-git-worktree-safely.md | 8 ++++++++ contents/miscellaneous-orphaned-git-commands.md | 6 ++++++ contents/past-commits-of-a-specific-file.md | 6 ++++++ contents/sharing-changes-as-patch-files.md | 7 +++++++ contents/useful-rare-git-commands-you-never-heard-of.md | 3 +++ 6 files changed, 34 insertions(+) diff --git a/contents/git-command-reference-full-list.md b/contents/git-command-reference-full-list.md index bded1d4..c324404 100644 --- a/contents/git-command-reference-full-list.md +++ b/contents/git-command-reference-full-list.md @@ -6,6 +6,10 @@ ![Category: Reference](https://img.shields.io/badge/Category-Reference-blue) > A comprehensive list of Git commands used in this project. +## Subcommands +- [git init --bare](./git-init-bare.md): Initialize a bare repository, typically used for remote repositories. +- [git clone --mirror ](./git-clone-mirror-repository.md): Clone a repository in mirror mode, including all refs and branches. + A comprehensive list of Git commands used in this project, formatted according to our standard. diff --git a/contents/how-to-use-git-worktree-safely.md b/contents/how-to-use-git-worktree-safely.md index ea208a3..6fc95d9 100644 --- a/contents/how-to-use-git-worktree-safely.md +++ b/contents/how-to-use-git-worktree-safely.md @@ -6,6 +6,14 @@ ![Category: Worktree](https://img.shields.io/badge/Category-Worktree-blue) > Work on multiple branches simultaneously without switching. +## Subcommands +- [Check Existing Worktrees](./check-existing-worktrees.md) +- [Create a New Worktree](./create-a-new-worktree.md) +- [Remove a Worktree](./remove-a-worktree.md) +- [Switch Between Worktrees](./switch-between-worktrees.md) +- [Use Worktrees for Temporary Fixes](./use-worktrees-for-temporary-fixes.md) +- [Flags and Their Uses](./flags-and-their-uses.md) + `git worktree` allows you to manage multiple working directories linked to a single Git repository. It helps developers work on multiple branches simultaneously without switching branches in the same directory. diff --git a/contents/miscellaneous-orphaned-git-commands.md b/contents/miscellaneous-orphaned-git-commands.md index 233359b..01c39a3 100644 --- a/contents/miscellaneous-orphaned-git-commands.md +++ b/contents/miscellaneous-orphaned-git-commands.md @@ -6,6 +6,12 @@ ![Category: Miscellaneous](https://img.shields.io/badge/Category-Miscellaneous-blue) > Useful Git commands and scripts not referenced elsewhere. +## Subcommands +- [git maintenance start](./git-maintenance-start.md): Runs a cronJob in background for the specified repo for periodic maintenance. +- [git request-pull](./git-request-pull.md): Generate a request to pull changes into a repository. +- [View and Clean Up Local Git Branches (Bash)](./view-and-clean-up-local-git-branches-bash.md): Scripts to view and clean up local branches using Bash. +- [View and Clean Up Local Git Branches (PowerShell)](./view-and-clean-up-local-git-branches-powershell.md): Scripts to view and clean up local branches using PowerShell. + This file collects useful Git commands and scripts that were previously only in the README and not referenced elsewhere in this repository. diff --git a/contents/past-commits-of-a-specific-file.md b/contents/past-commits-of-a-specific-file.md index 77fda35..2775005 100644 --- a/contents/past-commits-of-a-specific-file.md +++ b/contents/past-commits-of-a-specific-file.md @@ -6,6 +6,12 @@ ![Category: History and Inspection](https://img.shields.io/badge/Category-History%20and%20Inspection-blue) > See all commits and changes for a specific file. +## Subcommands +- [Show Commit History of a Specific File](./show-commit-history-of-a-specific-file.md) +- [Show Detailed Commit History (With Changes)](./show-detailed-commit-history-with-changes.md) +- [Show Commit History With Author and Date](./show-commit-history-with-author-and-date.md) +- [See Who Last Modified Each Line (Blame)](./see-who-last-modified-each-line-blame.md) + You can see all commits related to a specific file using Git commands. Here are a few ways to do it: diff --git a/contents/sharing-changes-as-patch-files.md b/contents/sharing-changes-as-patch-files.md index 057a6e0..c47c00a 100644 --- a/contents/sharing-changes-as-patch-files.md +++ b/contents/sharing-changes-as-patch-files.md @@ -6,6 +6,13 @@ ![Category: Patch & Diff](https://img.shields.io/badge/Category-Patch%20%26%20Diff-blue) > Generate and share patch files for committed or uncommitted changes. +## Subcommands +- [Create Patch from Last Commit(s)](./create-patch-from-last-commit-s.md) +- [Apply Patch with Commit Metadata](./apply-patch-with-commit-metadata.md) +- [Create Patch from Uncommitted Changes](./create-patch-from-uncommitted-changes.md) +- [Apply Diff File](./apply-diff-file.md) +- [Patch vs Diff: Quick Reference](./patch-vs-diff-quick-reference.md) + How to create patch files from your changes for sharing via email, SCP, Slack, or other means. Covers both committed (with full commit metadata) and uncommitted changes. diff --git a/contents/useful-rare-git-commands-you-never-heard-of.md b/contents/useful-rare-git-commands-you-never-heard-of.md index a32fb51..8ec16f5 100644 --- a/contents/useful-rare-git-commands-you-never-heard-of.md +++ b/contents/useful-rare-git-commands-you-never-heard-of.md @@ -6,6 +6,9 @@ ![Category: Advanced](https://img.shields.io/badge/Category-Advanced-blue) > A collection of lesser-known but powerful Git commands. +## Subcommands +- [git replace ](./git-replace-old-commit-new-commit.md): Temporarily substitute one commit for another. + A collection of lesser-known but powerful Git commands. Use these to level up your Git workflow!