{"id":17648336,"url":"https://github.com/nguyenvukhang/gitnu","last_synced_at":"2025-04-14T22:50:56.532Z","repository":{"id":59087084,"uuid":"484128854","full_name":"nguyenvukhang/gitnu","owner":"nguyenvukhang","description":"enumerating git status","archived":false,"fork":false,"pushed_at":"2024-06-10T23:23:44.000Z","size":20461,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-06T01:45:44.195Z","etag":null,"topics":["cli","command-line-tool","git","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/gitnu","language":"Rust","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/nguyenvukhang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-04-21T16:37:17.000Z","updated_at":"2024-07-20T18:08:31.000Z","dependencies_parsed_at":"2024-03-05T08:28:07.688Z","dependency_job_id":"5c23bf14-58e0-46a2-b19b-4ec80b762d2c","html_url":"https://github.com/nguyenvukhang/gitnu","commit_stats":null,"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenvukhang%2Fgitnu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenvukhang%2Fgitnu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenvukhang%2Fgitnu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nguyenvukhang%2Fgitnu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nguyenvukhang","download_url":"https://codeload.github.com/nguyenvukhang/gitnu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975299,"owners_count":21192199,"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":["cli","command-line-tool","git","rust"],"created_at":"2024-10-23T11:17:46.210Z","updated_at":"2025-04-14T22:50:56.516Z","avatar_url":"https://github.com/nguyenvukhang.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitnu\n\ngitnu adds numbers to git status.\n\n[![build status](https://github.com/nguyenvukhang/gitnu/workflows/ci/badge.svg?branch=main)](https://github.com/nguyenvukhang/gitnu/actions?query=branch%3Amain)\n[![crates.io](https://img.shields.io/crates/d/gitnu?color=brightgreen)](https://crates.io/crates/gitnu)\n\n## Install\n\ngitnu can be installed by running `cargo install gitnu`.\n\n## Usage\n\n```bash\n$ git nu status\n# On branch master\n# Untracked files:\n# 1       .gitignore\n# 2       README.md\n# 3       doc/\n# 4       src/\n#\n# nothing added to commit but untracked files present\n```\n\nNote the similarity of the output `git nu status` to that of `git status`.  \nThey are identical except for the numbers in front of filenames.\n\nAfter `gitnu status`, you can now use numbers in place of filenames for git\ncommands:\n\n```bash\n$ git nu add 2\n$ git nu status\n# On branch master\n# Changes to be committed:\n# 1       new file:   README.md\n#\n# Untracked files:\n# 2       .gitignore\n# 3       doc/\n# 4       src/\n```\n\nIn general, whenever you used to do\n\n```\ngit \u003ccommand\u003e [filenames and arguments]\n```\n\nYou can now use\n\n```\ngit nu \u003ccommand\u003e [file numbers and arguments]\n```\n\ngitnu will silently replace numbers with their filenames and pass everything\nelse intact into git.\n\ngitnu accepts multiple arguments and even number ranges:\n\n```bash\n$ git nu add 2 5-7 # same as `git nu add 2 5 6 7`\n```\n\nYou can even mix file names with numbers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnguyenvukhang%2Fgitnu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnguyenvukhang%2Fgitnu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnguyenvukhang%2Fgitnu/lists"}