{"id":22039645,"url":"https://github.com/igrep/git-aliases.nu","last_synced_at":"2026-01-27T09:16:15.205Z","repository":{"id":263119839,"uuid":"889354807","full_name":"igrep/git-aliases.nu","owner":"igrep","description":"Launch Nushell with aliases for all git commands, inspired by git-sh.","archived":false,"fork":false,"pushed_at":"2025-06-01T04:25:29.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T23:14:04.416Z","etag":null,"topics":["git","nushell"],"latest_commit_sha":null,"homepage":"","language":"Nushell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igrep.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-16T06:39:18.000Z","updated_at":"2025-06-01T04:25:32.000Z","dependencies_parsed_at":"2025-10-11T09:31:27.424Z","dependency_job_id":"15e2f101-4b22-4f24-8421-82ac3c6818db","html_url":"https://github.com/igrep/git-aliases.nu","commit_stats":null,"previous_names":["igrep/git-sh.nu","igrep/git-aliases.nu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igrep/git-aliases.nu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrep%2Fgit-aliases.nu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrep%2Fgit-aliases.nu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrep%2Fgit-aliases.nu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrep%2Fgit-aliases.nu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igrep","download_url":"https://codeload.github.com/igrep/git-aliases.nu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrep%2Fgit-aliases.nu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28810475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","nushell"],"created_at":"2024-11-30T11:11:35.708Z","updated_at":"2026-01-27T09:16:15.186Z","avatar_url":"https://github.com/igrep.png","language":"Nushell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-sh.nu\n\nConfigure aliases for all git subcommands so that you can use them without typing `git`. Inspired by [git-sh](https://rtomayko.github.io/git-sh/).\n\n## Installation\n\nDownload from [GitHub](https://github.com/igrep/git-aliases.nu/raw/refs/heads/main/git-aliases.nu) and save it to your `PATH`, then `chmod +x` it.\n\n## Usage\n\nJust run  `git-aliases.nu`, then the `nu` command starts with the aliases configured. Now you don't need to type `git` before the subcommands:\n\n```nu\n\u003e git-aliases.nu\n\n\u003e branch\n* main\n\n\u003e status\nOn branch main\nYour branch is up to date with 'origin/main'.\n\n...\n```\n\nAnd `git-aliases.nu` sets an environment variable `GIT_ALIASES_NU` to `true`. It's useful for switching the prompt. For example, you can add the following to your `$nu.env-path` (usually `~/.config/nushell/env.nu`):\n\n```nu\ndef create_left_prompt [] {\n  if ($env.GIT_ALIASES_ENABLED? == true) {\n    return $\"(left_prompt_when_git_aliases_enabled)\\n:\"\n  }\n\n  ...\n}\n```\n\nSee `git-aliases.nu --help` for more.\n\n## Known Issue\n\nThe `--prefix` option to the built-in commands is not working as expected. For example:\n\n```nu\n\u003e nongit-rm --help\nError: nu::shell::nushell_failed_spanned\n\n  × Nushell failed: Can't run alias directly. Unwrap it first.\n   ╭─[entry #3:1:1]\n 1 │ nongit-rm --help\n   · ────┬────\n   ·     ╰── originates from here\n   ╰────\n  help: This shouldn't happen. Please file an issue: https://github.com/nushell/nushell/issues\n```\n\nI want to report this problem. But I'm not sure the definitive way to reproduce this...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrep%2Fgit-aliases.nu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figrep%2Fgit-aliases.nu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrep%2Fgit-aliases.nu/lists"}