{"id":13565290,"url":"https://github.com/golbin/git-commander","last_synced_at":"2025-05-16T08:04:31.359Z","repository":{"id":34629324,"uuid":"38579353","full_name":"golbin/git-commander","owner":"golbin","description":"A git tool with an easy terminal interface.","archived":false,"fork":false,"pushed_at":"2015-08-13T05:23:21.000Z","size":3104,"stargazers_count":1116,"open_issues_count":19,"forks_count":59,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-09T04:02:59.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/golbin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-05T18:29:29.000Z","updated_at":"2025-04-03T15:33:47.000Z","dependencies_parsed_at":"2022-09-14T17:30:49.163Z","dependency_job_id":null,"html_url":"https://github.com/golbin/git-commander","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golbin%2Fgit-commander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golbin%2Fgit-commander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golbin%2Fgit-commander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golbin%2Fgit-commander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/golbin","download_url":"https://codeload.github.com/golbin/git-commander/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493378,"owners_count":22080126,"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":[],"created_at":"2024-08-01T13:01:43.925Z","updated_at":"2025-05-16T08:04:26.350Z","avatar_url":"https://github.com/golbin.png","language":"JavaScript","funding_links":[],"categories":["Version Control","JavaScript","Git","\u003ca name=\"git\"\u003e\u003c/a\u003eGit and accessories","Built with blessed"],"sub_categories":["Git","OS X"],"readme":"# git commander\n\nA git tool with an easy terminal interface.\n\n![ScreenShot](https://raw.githubusercontent.com/golbin/git-commander/master/doc/git-commander@2x.gif)\n\n# Features\n\n- [x] git status\n- [x] git add [files]\n- [x] git reset -- [files]\n- [x] git commit [files]\n- [x] git log\n- [x] git reset \u003ccommit\u003e\n- [x] git diff file\n- [x] git branch\n- [ ] git merge (handling conflict)\n- [ ] git pull/push\n\n# Install \u0026 Usage\n\n```bash\n$ npm install -g git-commander\n$ git-commander\n```\n\n# Requirements\n\n- **git** \u003e= 2.4\n- **nodejs** \u003e= 0.12\n- **blessed** \u003e= 0.1.7\n- **lodash** \u003e= 3.0\n\n# Key Configuration\n\nWe have two key sets _vi_ and _mc_ preconfigured. The default one is _vi_.\n\n##### Using the mc key set\n\nYou will need to place a file at `~/.config/git-commander/config.json` with the following content:\n\n```\n{\n    \"keySet\": \"mc\"\n}\n```\n\n##### Redefining keys one by one\n\nYou also can redefine keys one by one if you would like. You'll need to extend your `~/.config/git-commander/config.json` file with a key called `keys` and put all your key definitions there. For example if you would like to use the _mc_ key set and make key _x_ quit the application, you'll need to add the following:\n\n```\n{\n    \"keySet\": \"mc\",\n    \"keys\": {\n        \"common\": {\n            \"quit\": [\n                \"x\"\n            ]\n        }\n    }\n}\n```\n\nYou can find [default settings here](https://github.com/golbin/git-commander/tree/master/config/key).\n\n# Troubleshootings\n\n## ANSI color codes are displayed\n\nANSI color codes are being displayed if you set \"always\" for color settings in your **.gitconfig**. For fixing this, set \"auto\" for color settings like below.\n\n```\n[color]\n    # diff = always\n    diff = auto\n    status = auto\n    ui = auto\n    branch = auto\n```\n\n## Non-ascii character problem\n\nIf you use non-ascii character for source files, You need to disable\nthe **core.quotepath** option using following command:\n\n```bash\n$ git config --global core.quotepath false\n```\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolbin%2Fgit-commander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgolbin%2Fgit-commander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolbin%2Fgit-commander/lists"}