Important
If you find a useful GIT command - be sure to sent a PR here as well :)
- Miscellaneous & Orphaned Git Commands: Useful Git commands and scripts not referenced elsewhere.
- git maintenance start: Runs a cronJob in background for the specified repo for periodic maintenance.
- git request-pull: Generate a request to pull changes into a repository.
- View and Clean Up Local Git Branches (Bash): Scripts to view and clean up local branches using Bash.
- View and Clean Up Local Git Branches (PowerShell): Scripts to view and clean up local branches using PowerShell.
- Git Command Reference (Full List): A comprehensive list of Git commands used in this project.
- git init --bare: Initialize a bare repository, typically used for remote repositories.
- git clone --mirror : Clone a repository in mirror mode, including all refs and branches.
- Useful Rare Git Commands You Never Heard Of: A collection of lesser-known but powerful Git commands.
- git replace : Temporarily substitute one commit for another.
- How to Use git push --force-with-lease Safely: Safely force-push to a branch without overwriting others' work.
- Past commits of a specific file: See all commits and changes for a specific file.
- Git Clean: Remove Untracked Files and Directories: Remove untracked files and directories from your repository.
- How to Use git worktree Safely: Work on multiple branches simultaneously without switching.
- Sharing Changes as Patch Files: Generate and share patch files for committed or uncommitted changes.
- Pull Changes of Specific Files from a Commit: Restore or pull changes for specific files from a past commit without reverting the entire commit.
Note
Want to contribute? Add yourself as a contributor or author by following the Contribution Format Guide and submitting a Pull Request.
A list of individuals who have contributed to this project. Add your name and link in Contributors&Credits.md.
Acknowledgment of the original authors. Add your name or blog if you authored a command or section.
A collection of blogs, articles, and materials used to learn more about Git. Add your favorite resources!