mirror of
https://github.com/mike-rambil/Advanced-Git.git
synced 2025-12-21 09:30:03 -06:00
63 lines
5.5 KiB
Markdown
63 lines
5.5 KiB
Markdown
<div style="width:100%; display:flex; justify-content:center; align-items:center; margin: 0 auto;">
|
|
<img src="https://raw.githubusercontent.com/mike-rambil/Advanced-Git/refs/heads/main/brand/advanced-git-mike-rambil.png" style="max-width:100%; height:auto; display:block; margin:0 auto;" alt="banner" />
|
|
</div>
|
|
|
|
> [!IMPORTANT]
|
|
> If you find a useful GIT command - be sure to send a PR here as well :)
|
|
> Refer to [contribution format guide](./dev-docs/FORMAT.md) to send a PR.
|
|
|
|
# Table of Contents
|
|
|
|
- [Git Essentials & Hidden Gems](./contents/git-essentials-hidden-gems.md): Start here to discover commands that can improve your workflow and understanding of Git.
|
|
- [git maintenance start](./contents/git-maintenance-start.md): Runs a cronJob in background for the specified repo for periodic maintenance.
|
|
- [git request-pull](./contents/git-request-pull.md): Generate a request to pull changes into a repository.
|
|
- [Cleanup Branches Fast ⚡](./contents/cleanup-branches-fast.md): Quickly view and clean up local branches using Bash or PowerShell, including removing branches whose remote is gone.
|
|
- [Delete Local Branches Whose Remote is Gone (Bash)](./contents/delete-local-branches-whose-remote-is-gone-bash.md): Delete all local branches whose remote counterpart has been deleted, using Bash.
|
|
- [Delete Local Branches Whose Remote is Gone (PowerShell)](./contents/delete-local-branches-whose-remote-is-gone-powershell.md): Delete all local branches whose remote counterpart has been deleted, using PowerShell.
|
|
- [View and Clean Up Local Git Branches (Bash)](./contents/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)](./contents/view-and-clean-up-local-git-branches-powershell.md): Scripts to view and clean up local branches using PowerShell.
|
|
- [Git Command Reference (Full List)](./contents/git-command-reference-full-list.md): A comprehensive list of Git commands used in this project.
|
|
- [git init --bare](./contents/git-init-bare.md): Initialize a bare repository, typically used for remote repositories.
|
|
- [git clone --mirror <repository>](./contents/git-clone-mirror-repository.md): Clone a repository in mirror mode, including all refs and branches.
|
|
- [Useful Rare Git Commands You Never Heard Of](./contents/useful-rare-git-commands-you-never-heard-of.md): A collection of lesser-known but powerful Git commands.
|
|
- [git replace <old-commit> <new-commit>](./contents/git-replace-old-commit-new-commit.md): Temporarily substitute one commit for another.
|
|
- [How to Use git push --force-with-lease Safely](./contents/how-to-use-git-push-force-with-lease-safely.md): Safely force-push to a branch without overwriting others' work.
|
|
- [Past commits of a specific file](./contents/past-commits-of-a-specific-file.md): See all commits and changes for a specific file.
|
|
- [Show Commit History of a Specific File](./contents/show-commit-history-of-a-specific-file.md)
|
|
- [Show Detailed Commit History (With Changes)](./contents/show-detailed-commit-history-with-changes.md)
|
|
- [Show Commit History With Author and Date](./contents/show-commit-history-with-author-and-date.md)
|
|
- [See Who Last Modified Each Line (Blame)](./contents/see-who-last-modified-each-line-blame.md)
|
|
- [Git Clean: Remove Untracked Files and Directories](./contents/git-clean-remove-untracked-files-and-directories.md): Remove untracked files and directories from your repository.
|
|
- [How to Use git worktree Safely](./contents/how-to-use-git-worktree-safely.md): Work on multiple branches simultaneously without switching.
|
|
- [Check Existing Worktrees](./contents/check-existing-worktrees.md)
|
|
- [Create a New Worktree](./contents/create-a-new-worktree.md)
|
|
- [Remove a Worktree](./contents/remove-a-worktree.md)
|
|
- [Switch Between Worktrees](./contents/switch-between-worktrees.md)
|
|
- [Use Worktrees for Temporary Fixes](./contents/use-worktrees-for-temporary-fixes.md)
|
|
- [Flags and Their Uses](./contents/flags-and-their-uses.md)
|
|
- [Sharing Changes as Patch Files](./contents/sharing-changes-as-patch-files.md): Generate and share patch files for committed or uncommitted changes.
|
|
- [Create Patch from Last Commit(s)](./contents/create-patch-from-last-commit-s.md)
|
|
- [Apply Patch with Commit Metadata](./contents/apply-patch-with-commit-metadata.md)
|
|
- [Create Patch from Uncommitted Changes](./contents/create-patch-from-uncommitted-changes.md)
|
|
- [Apply Diff File](./contents/apply-diff-file.md)
|
|
- [Patch vs Diff: Quick Reference](./contents/patch-vs-diff-quick-reference.md)
|
|
- [Pull Changes of Specific Files from a Commit](./contents/pull-changes-of-specific-files-from-a-commit.md): Restore or pull changes for specific files from a past commit without reverting the entire commit.
|
|
|
|
|
|
|
|
## Growing thanks to you ❤️
|
|
|
|
[](https://starchart.cc/mike-rambil/Advanced-Git)
|
|
|
|
## Contributors & Credits
|
|
|
|
> [!NOTE]
|
|
> Want to contribute? Be a contributor or author by following the [Contribution Format Guide](./dev-docs/FORMAT.md) , also add your favorite resources in [References & Resources](./CONTRIBUTING.md#references-resources) and submit a Pull Request.
|
|
|
|
#### [👨👩👧👦 Contributors](./CONTRIBUTING.md)
|
|
|
|
A list of individuals who have contributed to this project. Add your name and link in [CONTRIBUTING.md](./CONTRIBUTING.md#contributors). Please follow the instructions from [FORMAT.md](./dev-docs/FORMAT.md) when contributing.
|
|
|
|
|
|
|