{"id":22493140,"url":"https://github.com/lewisacidic/fish-git-abbr","last_synced_at":"2025-08-20T12:33:38.058Z","repository":{"id":78316996,"uuid":"186616703","full_name":"lewisacidic/fish-git-abbr","owner":"lewisacidic","description":"Abbreviations for git for the git shell","archived":false,"fork":false,"pushed_at":"2024-08-14T05:30:34.000Z","size":51,"stargazers_count":21,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T01:35:33.786Z","etag":null,"topics":["fish-plugin","fish-shell","git"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lewisacidic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-14T12:24:10.000Z","updated_at":"2025-04-04T12:03:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdc76b42-6d11-435c-8b77-016ce8651808","html_url":"https://github.com/lewisacidic/fish-git-abbr","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/lewisacidic/fish-git-abbr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisacidic%2Ffish-git-abbr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisacidic%2Ffish-git-abbr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisacidic%2Ffish-git-abbr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisacidic%2Ffish-git-abbr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lewisacidic","download_url":"https://codeload.github.com/lewisacidic/fish-git-abbr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lewisacidic%2Ffish-git-abbr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266111437,"owners_count":23877980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fish-plugin","fish-shell","git"],"created_at":"2024-12-06T18:32:56.289Z","updated_at":"2025-08-20T12:33:38.047Z","avatar_url":"https://github.com/lewisacidic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fish-git-abbr\n\nAbbreviations for `git` for the [fish shell](https://fishshell.com/) :fish:.\n\nMainly based off those of [`oh-my-zsh`](https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet#git).\n\n## Installing\n\nUsing [`fisher`](https://github.com/jorgebucaran/fisher):\n\n```fish\nfisher install lewisacidic/fish-git-abbr\n```\n\n## Usage\n\nFish abbreviations replace typed text with an extended command after pressing \\\u003cSpace\u003e or \\\u003cEnter\u003e.\n\nabbreviation | result\n-------------|--------\n`g` | `git`\n`ga` | `git add`\n`gaa` | `git add --all`\n`gapa` | `git add --patch`\n`gau` | `git add --update`\n`gav` | `git add --verbose`\n`gap` | `git apply`\n`gapt` | `git apply --3way`\n`gb` | `git branch`\n`gba` | `git branch -a`\n`gbd` | `git branch -d`\n`gbdf` | `git branch -d -f`\n`gbD` | `git branch -D`\n`gbDf` | `git branch -D -f`\n`gbnm` | `git branch --no-merged`\n`gbr` | `git branch --remote`\n`gbl` | `git blame -b -w`\n`gbs` | `git bisect`\n`gbsb` | `git bisect bad`\n`gbsg` | `git bisect good`\n`gbsr` | `git bisect reset`\n`gbss` | `git bisect start`\n`gc` | `git commit -v`\n`gci` | `git commit -v --allow-empty -m 'chore: initial commit'`\n`gc!` | `git commit -v --amend`\n`gcn` | `git commit -v --no-edit`\n`gcn!` | `git commit -v --amend --no-edit`\n`gca` | `git commit -a -v`\n`gca!` | `git commit -a -v --amend`\n`gcan!` | `git commit -a -v --no-edit --amend`\n`gcans!` | `git commit -a -v -s --no-edit --amend`\n`gcam` | `git commit -a -m`\n`gcas` | `git commit -a -s`\n`gcasm` | `git commit -a -s -m`\n`gcsm` | `git commit -s -m`\n`gcm` | `git commit -m`\n`gcs` | `git commit -S`\n`gcf` | `git config --list`\n`gcl` | `git clone --recurse-submodules`\n`gclean` | `git clean -id`\n`gco` | `git checkout`\n`gcob` | `git checkout -b`\n`gcom` | `git checkout (git_main_branch)`\n`gcod` | `git checkout (git_develop_branch)`\n`gcof` | `git checkout (git_feature_prepend)/`\n`gcoh` | `git checkout hotfix/`\n`gcor` | `git checkout release/`\n`gcos` | `git checkout support/`\n`gcors` | `git checkout --recurse-submodules`\n`gcount` | `git shortlog -sn`\n`gcp` | `git cherry-pick`\n`gcpa` | `git cherry-pick --abort`\n`gcpc` | `git cherry-pick --continue`\n`gd` | `git diff`\n`gdca` | `git diff --cached`\n`gdcw` | `git diff --cached --word-diff`\n`gdct` | `git diff --staged`\n`gdt` | `git diff-tree --no-commit-id --name-only -r`\n`gdup` | `git diff @{upstream}`\n`gdct` | `git describe --tags (git rev-list --tags --max-count=1)`\n`gf` | `git fetch`\n`gfa` | `git fetch --all --prune`\n`gfo` | `git fetch origin`\n`ghh` | `git help`\n`gi` | `git init`\n`gignore` | `git update-index --assume-unchanged`\n`gignored` | `git ls-files -v | grep \"^[[:lower:]]\"`\n`gk` | `gitk --all --branches \u0026!`\n`gke` | `gitk --all (git log -g --pretty=%h) \u0026!`\n`gfg` | `git ls-files | grep`\n`gl` | `git log`\n`gls` | `git log --stat`\n`glsp` | `git log --stat -p`\n`glg` | `git log --graph`\n`glgda` | `git log --graph --decorate --all`\n`glgm` | `git log --graph --max-count=10`\n`glo` | `git log --oneline --decorate`\n`glog` | `git log --oneline --decorate --graph`\n`gloga` | `git log --oneline --decorate --graph --all`\n`gm` | `git merge`\n`gmom` | `git merge origin/(git_main_branch)`\n`gmum` | `git merge upstream/(git_main_branch)`\n`gma` | `git merge --abort`\n`gmtl` | `git mergetool --no-prompt`\n`gmtlvim` | `git mergetool --no-prompt --tool=vimdiff`\n`gp` | `git push`\n`gpd` | `git push --dry-run`\n`gpf` | `git push --force-with-lease`\n`gpf!` | `git push --force`\n`gpsu` | `git push --set-upstream origin (git_current_branch)`\n`gpt` | `git push --tags`\n`gptf` | `git push --tags --force-with-lease`\n`gptf!` | `git push --tags --force`\n`gpoat` | `git push origin --all \u0026\u0026 git push origin --tags`\n`gpoatf!` | `git push origin --all --force-with-lease \u0026\u0026 git push origin --tags --force-with-lease`\n`gpoatf!` | `git push origin --all --force \u0026\u0026 git push origin --tags --force`\n`gpv` | `git push -v`\n`gpl` | `git pull`\n`gplo` | `git pull origin`\n`gplom` | `git pull origin (git_main_branch)`\n`gplu` | `git pull upstream`\n`gplum` | `git pull upstream (git_main_branch)`\n`gr` | `git remote -v`\n`gra` | `git remote add`\n`grau` | `git remote add upstream`\n`grrm` | `git remote remove`\n`grmv` | `git remote rename`\n`grset` | `git remote set-url`\n`gru` | `git remote update`\n`grv` | `git remote -v`\n`grvv` | `git remote -vvv`\n`grb` | `git rebase`\n`grba` | `git rebase --abort`\n`grbc` | `git rebase --continue`\n`grbd` | `git rebase (git_develop_branch)`\n`grbi` | `git rebase -i`\n`grbom` | `git rebase origin/(git_main_branch)`\n`grbo` | `git rebase --onto`\n`grbs` | `git rebase --skip`\n`grev` | `git revert`\n`grs` | `git reset`\n`grs!` | `git reset --hard`\n`grsh` | `git reset HEAD`\n`grsh!` | `git reset HEAD --hard`\n`grsoh` | `git reset origin/(git_current_branch)`\n`grsoh!` | `git reset origin/(git_current_branch) --hard`\n`gpristine` | `git reset --hard \u0026\u0026 git clean -dffx`\n`grs-` | `git reset --`\n`grm` | `git rm`\n`grmc` | `git rm --cached`\n`grst` | `git restore`\n`grsts` | `git restore --source`\n`grstst` | `git restore --staged`\n`grt` | `cd (git rev-parse --show-toplevel || echo .)`\n`gs` | `git status`\n`gss` | `git status -s`\n`gsb` | `git status -sb`\n`gshow` | `git show`\n`gshowps` | `git show --pretty=short --show-signature`\n`gst` | `git stash`\n`gsta` | `git stash apply`\n`gstc` | `git stash clear`\n`gstd` | `git stash drop`\n`gstl` | `git stash list`\n`gstp` | `git stash pop`\n`gstshow` | `git stash show --text`\n`gstall` | `git stash --all`\n`gsts` | `git stash save`\n`gsu` | `git submodule update`\n`gsw` | `git switch`\n`gswc` | `git switch -c`\n`gswm` | `git switch (git_main_branch)`\n`gswd` | `git switch (git_develop_branch)`\n`gt` | `git tag`\n`gts` | `git tag -s`\n`gta` | `git tag -a`\n`gtas` | `git tag -a -s`\n`gwch` | `git whatchanged -p --abbrev-commit --pretty=medium`\n`gwt` | `git worktree`\n`gwta` | `git worktree add`\n`gwtls` | `git worktree list`\n`gwtmv` | `git worktree move`\n`gwtrm` | `git worktree remove`\n`gam` | `git am`\n`gamc` | `git am --continue`\n`gams` | `git am --skip`\n`gama` | `git am --abort`\n`gamscp` | `git am --show-current-patch`\n\n## See Also\n\n- [fish-tmux-abbr](https://github.com/lewisacidic/fish-tmux-abbr)\n- [fish-scripting-abbr](https://github.com/lewisacidic/fish-scripting-abbr)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewisacidic%2Ffish-git-abbr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewisacidic%2Ffish-git-abbr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewisacidic%2Ffish-git-abbr/lists"}