Most popular:
git-branch-current
: print the current git branch, suitable for using in other scripts.git-keep-empty-directories
: touch a .gitkeep file in each empty directory.git-meld
: use meld to compare git diffs.
Setup:
git-init-add-commit
: shortcut to init && add -A && commit saying "publish".git-config-typical
: set the typical master branch with push default.
Multiple directory commands:
git-dirs
: find git directories, and optionally use them to run git commands.git-repo-summaries
: accumulate a TSV output of git repo summaries for our projects.
Submodules:
git-rm-vendor-plugins-module
: remove a rails git submodule from vendor/plugins and cache.
Hooks:
git-hook-pre-commit-delete-trailing-whitespace
: find and fix trailing whitespace in commits.
Documentation and how to:
git-branch-tips-for-iteration-and-story.txt
: tips for git workflow for managing projects.git-clone-mirror-fetch-to-deploy-new-release.txt
: tips to speed up git deployments.git-flatten.txt
: how to flatten a repo to depth 1.git-remove-submodule.txt
: how to delete a submodule from the project, cache, and plugins.