Comprehensive reference for all shell functions provided by this configuration.
Open file in default editor. If no file specified, opens editor at current path.
Convert file from tab to space indentation. Default: 2 spaces.
Identical to type command but with Bat syntax highlighting support.
Update environment with latest software. Updates Linux apps, brew, npm, fish, pip, and their packages.
Build an ISO image from mounted volume (macOS only).
Kill errant/undesired process. Default signal: 15.
Grep history for top ten commands and execute one. Interactive history search.
Search for text within the current directory (excludes .git and node_modules).
Create new directories and enter the first one.
Convert number to human readable file size (e.g., 1024 → 1 KB).
Get gzip information (gzipped file size + reduction size).
Extract any type of compressed file (tar, zip, gz, bz2, etc.).
Delete files matching pattern from current directory. Default: *.DS_Store.
Create data URI from a file.
Check if a certain process is running.
Process phone images (resize and optimize). Default: *.jpg at 50%.
Upload file to transfer.sh for easy sharing. Supports piping.
Inspect file interactively with less (follow mode + line numbers).
Include license in global whitelist (License Finder).
Add library to global approval list (License Finder).
Create self-signed SSL certificate for domain.
Inspect remote file with default editor (downloads temporarily).
Curl with diagnostic information (timing, speed, status).
List file activity on given port (uses lsof).
gia- Initialize/re-initialize all repositories in current directorygafe- Mark repository as safe for auto-loading project's bin/* on pathgroot- Change to repository root directoryginfo- Print comprehensive repository overviewgstats- Answer statistics for current projectgstatsa- Answer statistics for all projects in current directory
ghurn- Answer commit churn for project files (sorted highest to lowest)gount- Answer total number of commits for current projectgli- List feature branch commits (interactive)gld- List commit details for current feature branchghow [commit] [difftool]- Show commit details with optional diffgile <file> <commit> [diff]- Show file details for specific commitgistory <file>- View file commit history (interactive)glameh <file> [lines]- View file commit history for specific linesguthorc [author]- Answer total lines added/removed by author
gash [label]- Create stash with labelgashl- List all stashesgashs [option]- Show stash (interactive, optional diff)gashp- Pop stash (interactive)gashd- Drop stash (interactive)gasha- Answer stash count for all projects
gbl- List local and remote branch detailsgblo [author]- List branches owned by authorgbla- List current branch for all projectsgbc <name>- Create and switch to branchgbf <name>- Duplicate current branch with new namegbs- Switch between branches (interactive)gbsa <name>- Switch to branch for all projectsgbd- Delete branch (interactive, local/remote)gbdl <branch>- Delete local branchgbdr <branch>- Delete remote branchgbdm- Delete all merged branchesgbr <name>- Rename current branch
gup- Fetch, review commits (optional diff), and pull (interactive)gync- Sync remote changes and delete pruned/merged branchesgpua- Pull new changes for all projectsgucca- Answer upstream commit count for all projects
galla- Add all file changes for all projectsgcb [label]- Create breakpoint commit (empty commit)gcfi- Select commit to fix within feature branch (interactive)gcff <file>- Create commit fix for filegcfp <sha> [-a]- Create fixup commit, push, and copy URLgcaa- Commit changes for all projects (interactive)gcap- Commit and push for all projects (interactive)
gpob- Push current branch to origin and set upstream trackinggpa- Push changes for all projects
grbi [commits|label]- Rebase commits interactivelygrbq [commits]- Quick rebase (skips editor)
gtagr <version> <notes_path> [datetime]- Rebuild tag (WARNING: Destructive)gtagd <name>- Delete local and remote tag
gwa <name> <option>- Add and switch to new worktree (d=detach, r=remote, l=local)gwd- Delete current Git worktree
gra <url> [name]- Add and track remote repository
gess [commits|sha]- Reset soft (preserves changes)gesh [commits|sha]- Reset hard (DESTRUCTIVE!)gesha [commits]- Reset hard for all projects (DESTRUCTIVE!)guke <file>- Permanently erase file from history (UNRECOVERABLE!)gleana- Clean uncommitted files from all projectsglear- Clear repository for packaging/shipping
gvac- Verify and clean objects for current projectgvaca- Verify and clean objects for all projects
gseta <key> <value>- Set config value for all projectsggeta <key>- Get config value for all projectsgunseta <key>- Unset config value for all projectsgail- Get user email for current projectgaila- Get user email for all projectsgailsa <email>- Set user email for all projects
gince <since> [until] [author]- Summarized activity since date/time for all projectsgday- Activity for current day (all projects)gweek- Activity for current week (all projects)gmonth- Activity for current month (all projects)gsup- Activity since yesterday (standup report)gtail- Commit history since last tag (copies to clipboard)gtaila- Commit count since last tag for all projects
View GitHub details for current project. Opens in browser or copies URLs.
Options:
o- Open repositoryi- Open issuesc [hash]- Open commits (or specific commit)f <file> [lines]- Copy file URLb [option]- Open branches (c=current, d=diff, r=pull request)t- Open tagsr [number|l]- Open pull requests (or specific PR, l=list)w- Open wikip- Open pulseg- Open graphss- Open settingsu [hash|l]- Print/copy URL (or commit URL, l=last commit)
Open pull requests for all projects (non-master branches only).
pko <content>- Copy content to clipboardpkf <file>- Copy file content to clipboardpkfr [dir]- Send directory to clipboard as tar archive
Create new asciinema recording with label.
oms [port]- Start processes (default port: 2990)omc [process]- Connect to running process (default: web)omr [process]- Restart running process (default: web)
- Functions marked with
(all)operate on all Git repositories in the current directory - Interactive functions prompt for input or confirmation
- Functions marked DESTRUCTIVE or UNRECOVERABLE should be used with extreme caution
- Many Git functions use color-coded output (cyan for project names, red for warnings)
Feature branch development:
gbc feature-name # Create and switch to feature branch
# ... make changes ...
gash "WIP" # Stash changes
gup # Review and pull upstream changes
gashp # Pop stash
gcfi # Fix specific commit interactively
grbi # Interactive rebase
gh b r # Open pull requestDaily standup:
gsup # Show yesterday's commits
gsta # Check projects with uncommitted changesRelease preparation:
gtail # Get commits since last tag
glear # Clean and optimize repositorySee also: ALIASES.md for quick command shortcuts.