From a5569ced34559fb03fac38de8fc78521a0158d2b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 26 Jul 2025 07:49:48 +0000 Subject: [PATCH] chore: auto-generate README.md from toc-source.json --- contents/apply-diff-file.md | 6 +++--- contents/apply-patch-with-commit-metadata.md | 6 +++--- contents/check-existing-worktrees.md | 4 ++-- contents/cleanup-branches-fast.md | 4 ++-- contents/create-a-new-worktree.md | 6 +++--- contents/create-patch-from-last-commit-s.md | 4 ++-- contents/create-patch-from-uncommitted-changes.md | 6 +++--- .../delete-local-branches-whose-remote-is-gone-bash.md | 4 ++-- ...lete-local-branches-whose-remote-is-gone-powershell.md | 6 +++--- contents/flags-and-their-uses.md | 6 +++--- .../git-clean-remove-untracked-files-and-directories.md | 4 ++-- contents/git-clone-mirror-repository.md | 6 +++--- contents/git-command-reference-full-list.md | 4 ++-- contents/git-essentials-hidden-gems.md | 4 ++-- contents/git-init-bare.md | 4 ++-- contents/git-maintenance-start.md | 4 ++-- contents/git-replace-old-commit-new-commit.md | 4 ++-- contents/git-request-pull.md | 6 +++--- contents/how-to-use-git-push-force-with-lease-safely.md | 4 ++-- contents/how-to-use-git-worktree-safely.md | 4 ++-- contents/past-commits-of-a-specific-file.md | 4 ++-- contents/patch-vs-diff-quick-reference.md | 6 +++--- contents/pull-changes-of-specific-files-from-a-commit.md | 8 ++++---- contents/remove-a-worktree.md | 6 +++--- contents/see-who-last-modified-each-line-blame.md | 6 +++--- contents/sharing-changes-as-patch-files.md | 4 ++-- contents/show-commit-history-of-a-specific-file.md | 4 ++-- contents/show-commit-history-with-author-and-date.md | 6 +++--- contents/show-detailed-commit-history-with-changes.md | 6 +++--- contents/switch-between-worktrees.md | 6 +++--- contents/use-worktrees-for-temporary-fixes.md | 6 +++--- contents/useful-rare-git-commands-you-never-heard-of.md | 4 ++-- contents/view-and-clean-up-local-git-branches-bash.md | 6 +++--- .../view-and-clean-up-local-git-branches-powershell.md | 6 +++--- 34 files changed, 87 insertions(+), 87 deletions(-) diff --git a/contents/apply-diff-file.md b/contents/apply-diff-file.md index db09bec..039e2cf 100644 --- a/contents/apply-diff-file.md +++ b/contents/apply-diff-file.md @@ -1,6 +1,6 @@ -[⬅️ Back to Sharing Changes as Patch Files](./sharing-changes-as-patch-files.md) +[⬅️ Back to Sharing Changes as Patch Files](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/sharing-changes-as-patch-files.md) -[⬆️ Previous Step: Create Patch from Uncommitted Changes](./create-patch-from-uncommitted-changes.md) +[⬆️ Previous Step: Create Patch from Uncommitted Changes](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/create-patch-from-uncommitted-changes.md) # Apply Diff File @@ -29,7 +29,7 @@ git apply --stat changes.diff 1. Run '`git apply changes.diff' to apply the changes from a diff file`. -[➡️ See the Next Step: Patch vs Diff: Quick Reference](./patch-vs-diff-quick-reference.md) +[➡️ See the Next Step: Patch vs Diff: Quick Reference](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/patch-vs-diff-quick-reference.md) --- diff --git a/contents/apply-patch-with-commit-metadata.md b/contents/apply-patch-with-commit-metadata.md index bb91577..9905ca5 100644 --- a/contents/apply-patch-with-commit-metadata.md +++ b/contents/apply-patch-with-commit-metadata.md @@ -1,6 +1,6 @@ -[⬅️ Back to Sharing Changes as Patch Files](./sharing-changes-as-patch-files.md) +[⬅️ Back to Sharing Changes as Patch Files](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/sharing-changes-as-patch-files.md) -[⬆️ Previous Step: Create Patch from Last Commit(s)](./create-patch-from-last-commit-s.md) +[⬆️ Previous Step: Create Patch from Last Commit(s)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/create-patch-from-last-commit-s.md) # Apply Patch with Commit Metadata @@ -29,7 +29,7 @@ git am --signoff my-changes.patch 1. Run '`git am my-changes.patch' to apply the patch and preserve commit messages, authorship, and timestamps`. -[➡️ See the Next Step: Create Patch from Uncommitted Changes](./create-patch-from-uncommitted-changes.md) +[➡️ See the Next Step: Create Patch from Uncommitted Changes](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/create-patch-from-uncommitted-changes.md) --- diff --git a/contents/check-existing-worktrees.md b/contents/check-existing-worktrees.md index d49d718..1e197a1 100644 --- a/contents/check-existing-worktrees.md +++ b/contents/check-existing-worktrees.md @@ -1,4 +1,4 @@ -[⬅️ Back to How to Use git worktree Safely](./how-to-use-git-worktree-safely.md) +[⬅️ Back to How to Use git worktree Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-worktree-safely.md) # Check Existing Worktrees @@ -27,7 +27,7 @@ git worktree list --porcelain 1. List all active worktrees. -[➡️ See the Next Step: Create a New Worktree](./create-a-new-worktree.md) +[➡️ See the Next Step: Create a New Worktree](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/create-a-new-worktree.md) --- diff --git a/contents/cleanup-branches-fast.md b/contents/cleanup-branches-fast.md index fe2322f..6479a0f 100644 --- a/contents/cleanup-branches-fast.md +++ b/contents/cleanup-branches-fast.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#cleanup-branches-fast) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#cleanup-branches-fast) # Cleanup Branches Fast ⚡ @@ -22,7 +22,7 @@ - [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. -[➡️ Continue to Next Topic: Git Command Reference (Full List)](./git-command-reference-full-list.md) +[➡️ Continue to Next Topic: Git Command Reference (Full List)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-command-reference-full-list.md) --- diff --git a/contents/create-a-new-worktree.md b/contents/create-a-new-worktree.md index d375232..8c03d2c 100644 --- a/contents/create-a-new-worktree.md +++ b/contents/create-a-new-worktree.md @@ -1,6 +1,6 @@ -[⬅️ Back to How to Use git worktree Safely](./how-to-use-git-worktree-safely.md) +[⬅️ Back to How to Use git worktree Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-worktree-safely.md) -[⬆️ Previous Step: Check Existing Worktrees](./check-existing-worktrees.md) +[⬆️ Previous Step: Check Existing Worktrees](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/check-existing-worktrees.md) # Create a New Worktree @@ -33,7 +33,7 @@ git worktree add ../hotfix hotfix-branch - The target path must not already be a git repository. -[➡️ See the Next Step: Remove a Worktree](./remove-a-worktree.md) +[➡️ See the Next Step: Remove a Worktree](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/remove-a-worktree.md) --- diff --git a/contents/create-patch-from-last-commit-s.md b/contents/create-patch-from-last-commit-s.md index 33b0b05..d924911 100644 --- a/contents/create-patch-from-last-commit-s.md +++ b/contents/create-patch-from-last-commit-s.md @@ -1,4 +1,4 @@ -[⬅️ Back to Sharing Changes as Patch Files](./sharing-changes-as-patch-files.md) +[⬅️ Back to Sharing Changes as Patch Files](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/sharing-changes-as-patch-files.md) # Create Patch from Last Commit(s) @@ -47,7 +47,7 @@ git format-patch -2 origin/main..HEAD - [Official Docs](https://git-scm.com/docs/git-format-patch) -[➡️ See the Next Step: Apply Patch with Commit Metadata](./apply-patch-with-commit-metadata.md) +[➡️ See the Next Step: Apply Patch with Commit Metadata](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/apply-patch-with-commit-metadata.md) --- diff --git a/contents/create-patch-from-uncommitted-changes.md b/contents/create-patch-from-uncommitted-changes.md index f2effd8..fbf37ec 100644 --- a/contents/create-patch-from-uncommitted-changes.md +++ b/contents/create-patch-from-uncommitted-changes.md @@ -1,6 +1,6 @@ -[⬅️ Back to Sharing Changes as Patch Files](./sharing-changes-as-patch-files.md) +[⬅️ Back to Sharing Changes as Patch Files](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/sharing-changes-as-patch-files.md) -[⬆️ Previous Step: Apply Patch with Commit Metadata](./apply-patch-with-commit-metadata.md) +[⬆️ Previous Step: Apply Patch with Commit Metadata](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/apply-patch-with-commit-metadata.md) # Create Patch from Uncommitted Changes @@ -37,7 +37,7 @@ git diff HEAD~1 > last-commit.diff - [Official Docs](https://git-scm.com/docs/git-diff) -[➡️ See the Next Step: Apply Diff File](./apply-diff-file.md) +[➡️ See the Next Step: Apply Diff File](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/apply-diff-file.md) --- diff --git a/contents/delete-local-branches-whose-remote-is-gone-bash.md b/contents/delete-local-branches-whose-remote-is-gone-bash.md index 4a989db..4a4a628 100644 --- a/contents/delete-local-branches-whose-remote-is-gone-bash.md +++ b/contents/delete-local-branches-whose-remote-is-gone-bash.md @@ -1,4 +1,4 @@ -[⬅️ Back to Cleanup Branches Fast ⚡](./cleanup-branches-fast.md) +[⬅️ Back to Cleanup Branches Fast ⚡](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/cleanup-branches-fast.md) # Delete Local Branches Whose Remote is Gone (Bash) @@ -47,7 +47,7 @@ git fetch -p && git branch -vv | grep '\[origin/feature: gone\]' | awk '{print $ -[➡️ See the Next Step: Delete Local Branches Whose Remote is Gone (PowerShell)](./delete-local-branches-whose-remote-is-gone-powershell.md) +[➡️ See the Next Step: Delete Local Branches Whose Remote is Gone (PowerShell)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/delete-local-branches-whose-remote-is-gone-powershell.md) --- diff --git a/contents/delete-local-branches-whose-remote-is-gone-powershell.md b/contents/delete-local-branches-whose-remote-is-gone-powershell.md index 4db9ba5..4217158 100644 --- a/contents/delete-local-branches-whose-remote-is-gone-powershell.md +++ b/contents/delete-local-branches-whose-remote-is-gone-powershell.md @@ -1,6 +1,6 @@ -[⬅️ Back to Cleanup Branches Fast ⚡](./cleanup-branches-fast.md) +[⬅️ Back to Cleanup Branches Fast ⚡](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/cleanup-branches-fast.md) -[⬆️ Previous Step: Delete Local Branches Whose Remote is Gone (Bash)](./delete-local-branches-whose-remote-is-gone-bash.md) +[⬆️ Previous Step: Delete Local Branches Whose Remote is Gone (Bash)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/delete-local-branches-whose-remote-is-gone-bash.md) # Delete Local Branches Whose Remote is Gone (PowerShell) @@ -52,7 +52,7 @@ git branch -vv | ForEach-Object { if ($_ -match '[origin/feature: gone]') { $par -[➡️ See the Next Step: View and Clean Up Local Git Branches (Bash)](./view-and-clean-up-local-git-branches-bash.md) +[➡️ See the Next Step: View and Clean Up Local Git Branches (Bash)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/view-and-clean-up-local-git-branches-bash.md) --- diff --git a/contents/flags-and-their-uses.md b/contents/flags-and-their-uses.md index 77ea38e..5ce2056 100644 --- a/contents/flags-and-their-uses.md +++ b/contents/flags-and-their-uses.md @@ -1,6 +1,6 @@ -[⬅️ Back to How to Use git worktree Safely](./how-to-use-git-worktree-safely.md) +[⬅️ Back to How to Use git worktree Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-worktree-safely.md) -[⬆️ Previous Step: Use Worktrees for Temporary Fixes](./use-worktrees-for-temporary-fixes.md) +[⬆️ Previous Step: Use Worktrees for Temporary Fixes](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/use-worktrees-for-temporary-fixes.md) # Flags and Their Uses @@ -14,7 +14,7 @@ - `move`: Moves a worktree to a different location. -[➡️ Continue to Next Topic: Sharing Changes as Patch Files](./sharing-changes-as-patch-files.md) +[➡️ Continue to Next Topic: Sharing Changes as Patch Files](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/sharing-changes-as-patch-files.md) --- diff --git a/contents/git-clean-remove-untracked-files-and-directories.md b/contents/git-clean-remove-untracked-files-and-directories.md index 8556024..f60c512 100644 --- a/contents/git-clean-remove-untracked-files-and-directories.md +++ b/contents/git-clean-remove-untracked-files-and-directories.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#git-clean-remove-untracked-files-and-directories) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#git-clean-remove-untracked-files-and-directories) # Git Clean: Remove Untracked Files and Directories @@ -73,7 +73,7 @@ git clean -f -x - [Official Docs](https://git-scm.com/docs/git-clean) -[➡️ Continue to Next Topic: How to Use git worktree Safely](./how-to-use-git-worktree-safely.md) +[➡️ Continue to Next Topic: How to Use git worktree Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-worktree-safely.md) --- diff --git a/contents/git-clone-mirror-repository.md b/contents/git-clone-mirror-repository.md index 0340ac9..e507486 100644 --- a/contents/git-clone-mirror-repository.md +++ b/contents/git-clone-mirror-repository.md @@ -1,6 +1,6 @@ -[⬅️ Back to Git Command Reference (Full List)](./git-command-reference-full-list.md) +[⬅️ Back to Git Command Reference (Full List)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-command-reference-full-list.md) -[⬆️ Previous Step: git init --bare](./git-init-bare.md) +[⬆️ Previous Step: git init --bare](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-init-bare.md) # git clone --mirror @@ -31,7 +31,7 @@ git clone --mirror git@github.com:org/repo.git 1. Run `git clone --mirror ` to create a full backup or migration. -[➡️ Continue to Next Topic: Useful Rare Git Commands You Never Heard Of](./useful-rare-git-commands-you-never-heard-of.md) +[➡️ Continue to Next Topic: Useful Rare Git Commands You Never Heard Of](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/useful-rare-git-commands-you-never-heard-of.md) --- diff --git a/contents/git-command-reference-full-list.md b/contents/git-command-reference-full-list.md index 85ab5af..d094778 100644 --- a/contents/git-command-reference-full-list.md +++ b/contents/git-command-reference-full-list.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#git-command-reference-full-list) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#git-command-reference-full-list) # Git Command Reference (Full List) @@ -13,7 +13,7 @@ A comprehensive list of Git commands used in this project, formatted according t - [git clone --mirror ](./git-clone-mirror-repository.md): Clone a repository in mirror mode, including all refs and branches. -[➡️ Continue to Next Topic: Useful Rare Git Commands You Never Heard Of](./useful-rare-git-commands-you-never-heard-of.md) +[➡️ Continue to Next Topic: Useful Rare Git Commands You Never Heard Of](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/useful-rare-git-commands-you-never-heard-of.md) --- diff --git a/contents/git-essentials-hidden-gems.md b/contents/git-essentials-hidden-gems.md index eb1e2bd..60d8f1d 100644 --- a/contents/git-essentials-hidden-gems.md +++ b/contents/git-essentials-hidden-gems.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#git-essentials-hidden-gems) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#git-essentials-hidden-gems) # Git Essentials & Hidden Gems @@ -22,7 +22,7 @@ A collection of practical, lesser-known, and foundational Git commands that are - [git request-pull](./git-request-pull.md): Generate a request to pull changes into a repository. -[➡️ Continue to Next Topic: Cleanup Branches Fast ⚡](./cleanup-branches-fast.md) +[➡️ Continue to Next Topic: Cleanup Branches Fast ⚡](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/cleanup-branches-fast.md) --- diff --git a/contents/git-init-bare.md b/contents/git-init-bare.md index 78b82a4..1fe9c3f 100644 --- a/contents/git-init-bare.md +++ b/contents/git-init-bare.md @@ -1,4 +1,4 @@ -[⬅️ Back to Git Command Reference (Full List)](./git-command-reference-full-list.md) +[⬅️ Back to Git Command Reference (Full List)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-command-reference-full-list.md) # git init --bare @@ -29,7 +29,7 @@ git init --bare /srv/git/project.git 1. Run `git init --bare my-repo.git` to create a bare repository. -[➡️ See the Next Step: git clone --mirror ](./git-clone-mirror-repository.md) +[➡️ See the Next Step: git clone --mirror ](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-clone-mirror-repository.md) --- diff --git a/contents/git-maintenance-start.md b/contents/git-maintenance-start.md index ec64d97..7880ae3 100644 --- a/contents/git-maintenance-start.md +++ b/contents/git-maintenance-start.md @@ -1,4 +1,4 @@ -[⬅️ Back to Git Essentials & Hidden Gems](./git-essentials-hidden-gems.md) +[⬅️ Back to Git Essentials & Hidden Gems](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-essentials-hidden-gems.md) # git maintenance start @@ -50,7 +50,7 @@ git maintenance start --schedule=hourly - [Official Docs](https://git-scm.com/docs/git-maintenance) -[➡️ See the Next Step: git request-pull](./git-request-pull.md) +[➡️ See the Next Step: git request-pull](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-request-pull.md) --- diff --git a/contents/git-replace-old-commit-new-commit.md b/contents/git-replace-old-commit-new-commit.md index 10fdde8..947cc17 100644 --- a/contents/git-replace-old-commit-new-commit.md +++ b/contents/git-replace-old-commit-new-commit.md @@ -1,4 +1,4 @@ -[⬅️ Back to Useful Rare Git Commands You Never Heard Of](./useful-rare-git-commands-you-never-heard-of.md) +[⬅️ Back to Useful Rare Git Commands You Never Heard Of](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/useful-rare-git-commands-you-never-heard-of.md) # git replace @@ -29,7 +29,7 @@ git replace --graft HEAD~2 HEAD 1. Run `git replace ` to test or patch history. -[➡️ Continue to Next Topic: How to Use git push --force-with-lease Safely](./how-to-use-git-push-force-with-lease-safely.md) +[➡️ Continue to Next Topic: How to Use git push --force-with-lease Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-push-force-with-lease-safely.md) --- diff --git a/contents/git-request-pull.md b/contents/git-request-pull.md index 612c2cc..f775f54 100644 --- a/contents/git-request-pull.md +++ b/contents/git-request-pull.md @@ -1,6 +1,6 @@ -[⬅️ Back to Git Essentials & Hidden Gems](./git-essentials-hidden-gems.md) +[⬅️ Back to Git Essentials & Hidden Gems](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-essentials-hidden-gems.md) -[⬆️ Previous Step: git maintenance start](./git-maintenance-start.md) +[⬆️ Previous Step: git maintenance start](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-maintenance-start.md) # git request-pull @@ -75,7 +75,7 @@ git request-pull main https://github.com/example/repo.git feature-branch - [Official Docs](https://git-scm.com/docs/git-request-pull) -[➡️ Continue to Next Topic: Cleanup Branches Fast ⚡](./cleanup-branches-fast.md) +[➡️ Continue to Next Topic: Cleanup Branches Fast ⚡](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/cleanup-branches-fast.md) --- diff --git a/contents/how-to-use-git-push-force-with-lease-safely.md b/contents/how-to-use-git-push-force-with-lease-safely.md index fa6c3f0..b91f5f6 100644 --- a/contents/how-to-use-git-push-force-with-lease-safely.md +++ b/contents/how-to-use-git-push-force-with-lease-safely.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#how-to-use-git-push-force-with-lease-safely) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#how-to-use-git-push-force-with-lease-safely) # How to Use git push --force-with-lease Safely @@ -46,7 +46,7 @@ git push --force-with-lease origin feature-branch - [Medium Article](https://medium.com/@sahilsahilbhatia/git-push-force-with-lease-vs-force-ecae72601e80) -[➡️ Continue to Next Topic: Past commits of a specific file](./past-commits-of-a-specific-file.md) +[➡️ Continue to Next Topic: Past commits of a specific file](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/past-commits-of-a-specific-file.md) --- diff --git a/contents/how-to-use-git-worktree-safely.md b/contents/how-to-use-git-worktree-safely.md index 22ae3dd..62bb95a 100644 --- a/contents/how-to-use-git-worktree-safely.md +++ b/contents/how-to-use-git-worktree-safely.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#how-to-use-git-worktree-safely) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#how-to-use-git-worktree-safely) # How to Use git worktree Safely @@ -17,7 +17,7 @@ - [Flags and Their Uses](./flags-and-their-uses.md) -[➡️ Continue to Next Topic: Sharing Changes as Patch Files](./sharing-changes-as-patch-files.md) +[➡️ Continue to Next Topic: Sharing Changes as Patch Files](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/sharing-changes-as-patch-files.md) --- diff --git a/contents/past-commits-of-a-specific-file.md b/contents/past-commits-of-a-specific-file.md index 12780bb..84498bc 100644 --- a/contents/past-commits-of-a-specific-file.md +++ b/contents/past-commits-of-a-specific-file.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#past-commits-of-a-specific-file) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#past-commits-of-a-specific-file) # Past commits of a specific file @@ -15,7 +15,7 @@ You can see all commits related to a specific file using Git commands. Here are - [See Who Last Modified Each Line (Blame)](./see-who-last-modified-each-line-blame.md) -[➡️ Continue to Next Topic: Git Clean: Remove Untracked Files and Directories](./git-clean-remove-untracked-files-and-directories.md) +[➡️ Continue to Next Topic: Git Clean: Remove Untracked Files and Directories](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-clean-remove-untracked-files-and-directories.md) --- diff --git a/contents/patch-vs-diff-quick-reference.md b/contents/patch-vs-diff-quick-reference.md index 474590f..df31440 100644 --- a/contents/patch-vs-diff-quick-reference.md +++ b/contents/patch-vs-diff-quick-reference.md @@ -1,6 +1,6 @@ -[⬅️ Back to Sharing Changes as Patch Files](./sharing-changes-as-patch-files.md) +[⬅️ Back to Sharing Changes as Patch Files](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/sharing-changes-as-patch-files.md) -[⬆️ Previous Step: Apply Diff File](./apply-diff-file.md) +[⬆️ Previous Step: Apply Diff File](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/apply-diff-file.md) # Patch vs Diff: Quick Reference @@ -12,7 +12,7 @@ | git format-patch > file.patch | Share committed changes | ✅ | git am | -[➡️ Continue to Next Topic: Pull Changes of Specific Files from a Commit](./pull-changes-of-specific-files-from-a-commit.md) +[➡️ Continue to Next Topic: Pull Changes of Specific Files from a Commit](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/pull-changes-of-specific-files-from-a-commit.md) --- diff --git a/contents/pull-changes-of-specific-files-from-a-commit.md b/contents/pull-changes-of-specific-files-from-a-commit.md index 05cc334..cea1986 100644 --- a/contents/pull-changes-of-specific-files-from-a-commit.md +++ b/contents/pull-changes-of-specific-files-from-a-commit.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#pull-changes-of-specific-files-from-a-commit) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#pull-changes-of-specific-files-from-a-commit) # Pull Changes of Specific Files from a Commit @@ -57,11 +57,11 @@ git restore --source e8ab7f64fdfcc7bdaaed8d96c0ac26dce035663f path/to/file1.txt You've reached the end of this comprehensive Git guide! You've learned some of the most advanced Git techniques and commands. **What's next?** -- [📚 Explore more Git topics in the main guide](../README.md) +- [📚 Explore more Git topics in the main guide](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md) - 🚀 **Great Git contributors put everything into practice** - if you discovered something useful or have your own Git tips, consider contributing to this repository! -- 💡 Found a bug or have suggestions? [Open an issue or submit a PR](../README.md#contributors--credits) +- 💡 Found a bug or have suggestions? [Open an issue or submit a PR](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#contributors--credits) -[🏠 Back to Main README](../README.md) +[🏠 Back to Main README](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md) --- diff --git a/contents/remove-a-worktree.md b/contents/remove-a-worktree.md index 23fae10..c465f2f 100644 --- a/contents/remove-a-worktree.md +++ b/contents/remove-a-worktree.md @@ -1,6 +1,6 @@ -[⬅️ Back to How to Use git worktree Safely](./how-to-use-git-worktree-safely.md) +[⬅️ Back to How to Use git worktree Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-worktree-safely.md) -[⬆️ Previous Step: Create a New Worktree](./create-a-new-worktree.md) +[⬆️ Previous Step: Create a New Worktree](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/create-a-new-worktree.md) # Remove a Worktree @@ -33,7 +33,7 @@ git worktree remove ../hotfix - ⚠️ Make sure you have committed all changes before removing a worktree. -[➡️ See the Next Step: Switch Between Worktrees](./switch-between-worktrees.md) +[➡️ See the Next Step: Switch Between Worktrees](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/switch-between-worktrees.md) --- diff --git a/contents/see-who-last-modified-each-line-blame.md b/contents/see-who-last-modified-each-line-blame.md index 025118e..d5f628f 100644 --- a/contents/see-who-last-modified-each-line-blame.md +++ b/contents/see-who-last-modified-each-line-blame.md @@ -1,6 +1,6 @@ -[⬅️ Back to Past commits of a specific file](./past-commits-of-a-specific-file.md) +[⬅️ Back to Past commits of a specific file](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/past-commits-of-a-specific-file.md) -[⬆️ Previous Step: Show Commit History With Author and Date](./show-commit-history-with-author-and-date.md) +[⬆️ Previous Step: Show Commit History With Author and Date](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/show-commit-history-with-author-and-date.md) # See Who Last Modified Each Line (Blame) @@ -33,7 +33,7 @@ git blame -L 10,20 filename.txt - ⚠️ Blame can be misleading if the file has been heavily refactored. -[➡️ Continue to Next Topic: Git Clean: Remove Untracked Files and Directories](./git-clean-remove-untracked-files-and-directories.md) +[➡️ Continue to Next Topic: Git Clean: Remove Untracked Files and Directories](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-clean-remove-untracked-files-and-directories.md) --- diff --git a/contents/sharing-changes-as-patch-files.md b/contents/sharing-changes-as-patch-files.md index cada192..9dcbd0a 100644 --- a/contents/sharing-changes-as-patch-files.md +++ b/contents/sharing-changes-as-patch-files.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#sharing-changes-as-patch-files) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#sharing-changes-as-patch-files) # Sharing Changes as Patch Files @@ -16,7 +16,7 @@ How to create patch files from your changes for sharing via email, SCP, Slack, o - [Patch vs Diff: Quick Reference](./patch-vs-diff-quick-reference.md) -[➡️ Continue to Next Topic: Pull Changes of Specific Files from a Commit](./pull-changes-of-specific-files-from-a-commit.md) +[➡️ Continue to Next Topic: Pull Changes of Specific Files from a Commit](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/pull-changes-of-specific-files-from-a-commit.md) --- diff --git a/contents/show-commit-history-of-a-specific-file.md b/contents/show-commit-history-of-a-specific-file.md index a5f4e7d..33be080 100644 --- a/contents/show-commit-history-of-a-specific-file.md +++ b/contents/show-commit-history-of-a-specific-file.md @@ -1,4 +1,4 @@ -[⬅️ Back to Past commits of a specific file](./past-commits-of-a-specific-file.md) +[⬅️ Back to Past commits of a specific file](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/past-commits-of-a-specific-file.md) # Show Commit History of a Specific File @@ -32,7 +32,7 @@ git log --oneline -- path/to/anotherfile.js - git blame filename.txt -[➡️ See the Next Step: Show Detailed Commit History (With Changes)](./show-detailed-commit-history-with-changes.md) +[➡️ See the Next Step: Show Detailed Commit History (With Changes)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/show-detailed-commit-history-with-changes.md) --- diff --git a/contents/show-commit-history-with-author-and-date.md b/contents/show-commit-history-with-author-and-date.md index 660dac5..f06d3d8 100644 --- a/contents/show-commit-history-with-author-and-date.md +++ b/contents/show-commit-history-with-author-and-date.md @@ -1,6 +1,6 @@ -[⬅️ Back to Past commits of a specific file](./past-commits-of-a-specific-file.md) +[⬅️ Back to Past commits of a specific file](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/past-commits-of-a-specific-file.md) -[⬆️ Previous Step: Show Detailed Commit History (With Changes)](./show-detailed-commit-history-with-changes.md) +[⬆️ Previous Step: Show Detailed Commit History (With Changes)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/show-detailed-commit-history-with-changes.md) # Show Commit History With Author and Date @@ -29,7 +29,7 @@ git log --pretty=format:'%h | %ad | %an | %s' --date=short -- filename.txt 1. Displays commit hash, author, relative date, and commit message. -[➡️ See the Next Step: See Who Last Modified Each Line (Blame)](./see-who-last-modified-each-line-blame.md) +[➡️ See the Next Step: See Who Last Modified Each Line (Blame)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/see-who-last-modified-each-line-blame.md) --- diff --git a/contents/show-detailed-commit-history-with-changes.md b/contents/show-detailed-commit-history-with-changes.md index 28edacf..f56173f 100644 --- a/contents/show-detailed-commit-history-with-changes.md +++ b/contents/show-detailed-commit-history-with-changes.md @@ -1,6 +1,6 @@ -[⬅️ Back to Past commits of a specific file](./past-commits-of-a-specific-file.md) +[⬅️ Back to Past commits of a specific file](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/past-commits-of-a-specific-file.md) -[⬆️ Previous Step: Show Commit History of a Specific File](./show-commit-history-of-a-specific-file.md) +[⬆️ Previous Step: Show Commit History of a Specific File](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/show-commit-history-of-a-specific-file.md) # Show Detailed Commit History (With Changes) @@ -33,7 +33,7 @@ git log -p -2 -- filename.txt - git log --oneline -- filename.txt -[➡️ See the Next Step: Show Commit History With Author and Date](./show-commit-history-with-author-and-date.md) +[➡️ See the Next Step: Show Commit History With Author and Date](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/show-commit-history-with-author-and-date.md) --- diff --git a/contents/switch-between-worktrees.md b/contents/switch-between-worktrees.md index 6b4e597..c4e375b 100644 --- a/contents/switch-between-worktrees.md +++ b/contents/switch-between-worktrees.md @@ -1,6 +1,6 @@ -[⬅️ Back to How to Use git worktree Safely](./how-to-use-git-worktree-safely.md) +[⬅️ Back to How to Use git worktree Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-worktree-safely.md) -[⬆️ Previous Step: Remove a Worktree](./remove-a-worktree.md) +[⬆️ Previous Step: Remove a Worktree](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/remove-a-worktree.md) # Switch Between Worktrees @@ -27,7 +27,7 @@ cd ../hotfix 1. Simply cd into the worktree directory to switch. -[➡️ See the Next Step: Use Worktrees for Temporary Fixes](./use-worktrees-for-temporary-fixes.md) +[➡️ See the Next Step: Use Worktrees for Temporary Fixes](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/use-worktrees-for-temporary-fixes.md) --- diff --git a/contents/use-worktrees-for-temporary-fixes.md b/contents/use-worktrees-for-temporary-fixes.md index 54c271f..1498f9d 100644 --- a/contents/use-worktrees-for-temporary-fixes.md +++ b/contents/use-worktrees-for-temporary-fixes.md @@ -1,6 +1,6 @@ -[⬅️ Back to How to Use git worktree Safely](./how-to-use-git-worktree-safely.md) +[⬅️ Back to How to Use git worktree Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-worktree-safely.md) -[⬆️ Previous Step: Switch Between Worktrees](./switch-between-worktrees.md) +[⬆️ Previous Step: Switch Between Worktrees](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/switch-between-worktrees.md) # Use Worktrees for Temporary Fixes @@ -29,7 +29,7 @@ git worktree add ../bugfix bugfix-branch 1. Quickly apply a fix on another branch without leaving your main branch. -[➡️ See the Next Step: Flags and Their Uses](./flags-and-their-uses.md) +[➡️ See the Next Step: Flags and Their Uses](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/flags-and-their-uses.md) --- 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 38c233a..dc2cc08 100644 --- a/contents/useful-rare-git-commands-you-never-heard-of.md +++ b/contents/useful-rare-git-commands-you-never-heard-of.md @@ -1,4 +1,4 @@ -[⬅️ Back to Table of Contents](../README.md#useful-rare-git-commands-you-never-heard-of) +[⬅️ Back to Table of Contents](https://github.com/mike-rambil/Advanced-Git/blob/main/README.md#useful-rare-git-commands-you-never-heard-of) # Useful Rare Git Commands You Never Heard Of @@ -12,7 +12,7 @@ A collection of lesser-known but powerful Git commands. Use these to level up yo - [git replace ](./git-replace-old-commit-new-commit.md): Temporarily substitute one commit for another. -[➡️ Continue to Next Topic: How to Use git push --force-with-lease Safely](./how-to-use-git-push-force-with-lease-safely.md) +[➡️ Continue to Next Topic: How to Use git push --force-with-lease Safely](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/how-to-use-git-push-force-with-lease-safely.md) --- diff --git a/contents/view-and-clean-up-local-git-branches-bash.md b/contents/view-and-clean-up-local-git-branches-bash.md index 1b4a812..8217a26 100644 --- a/contents/view-and-clean-up-local-git-branches-bash.md +++ b/contents/view-and-clean-up-local-git-branches-bash.md @@ -1,6 +1,6 @@ -[⬅️ Back to Cleanup Branches Fast ⚡](./cleanup-branches-fast.md) +[⬅️ Back to Cleanup Branches Fast ⚡](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/cleanup-branches-fast.md) -[⬆️ Previous Step: Delete Local Branches Whose Remote is Gone (PowerShell)](./delete-local-branches-whose-remote-is-gone-powershell.md) +[⬆️ Previous Step: Delete Local Branches Whose Remote is Gone (PowerShell)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/delete-local-branches-whose-remote-is-gone-powershell.md) # View and Clean Up Local Git Branches (Bash) @@ -47,7 +47,7 @@ git branch -vv | grep 'gone' -[➡️ See the Next Step: View and Clean Up Local Git Branches (PowerShell)](./view-and-clean-up-local-git-branches-powershell.md) +[➡️ See the Next Step: View and Clean Up Local Git Branches (PowerShell)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/view-and-clean-up-local-git-branches-powershell.md) --- diff --git a/contents/view-and-clean-up-local-git-branches-powershell.md b/contents/view-and-clean-up-local-git-branches-powershell.md index bce8cc4..104be50 100644 --- a/contents/view-and-clean-up-local-git-branches-powershell.md +++ b/contents/view-and-clean-up-local-git-branches-powershell.md @@ -1,6 +1,6 @@ -[⬅️ Back to Cleanup Branches Fast ⚡](./cleanup-branches-fast.md) +[⬅️ Back to Cleanup Branches Fast ⚡](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/cleanup-branches-fast.md) -[⬆️ Previous Step: View and Clean Up Local Git Branches (Bash)](./view-and-clean-up-local-git-branches-bash.md) +[⬆️ Previous Step: View and Clean Up Local Git Branches (Bash)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/view-and-clean-up-local-git-branches-bash.md) # View and Clean Up Local Git Branches (PowerShell) @@ -47,7 +47,7 @@ git branch -vv | Select-String 'gone' -[➡️ Continue to Next Topic: Git Command Reference (Full List)](./git-command-reference-full-list.md) +[➡️ Continue to Next Topic: Git Command Reference (Full List)](https://github.com/mike-rambil/Advanced-Git/blob/main/contents/git-command-reference-full-list.md) ---