[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8089":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},8089,"gitsh","thoughtbot\u002Fgitsh","thoughtbot","An interactive shell for git","https:\u002F\u002Fthoughtbot.com",null,"Ruby",1958,102,61,33,0,1,54.14,"BSD 3-Clause \"New\" or \"Revised\" License",false,"main",true,[],"2026-06-12 04:00:37","# \u003Cimg src=\"assets\u002Fgitsh-logo.svg\" alt=\"gitsh\" width=\"180\">\n\nThe `gitsh` program is an interactive shell for git. From within `gitsh` you can\nissue any git command, even using your local aliases and configuration.\n\nFor a quick introduction to `gitsh`, watch [our video on Upcase][]. For further\ndocumentation, you can view the man page by running `man gitsh` in your\nterminal.\n\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002Fthoughtbot\u002Fgitsh.png?branch=master)](https:\u002F\u002Ftravis-ci.org\u002Fthoughtbot\u002Fgitsh)\n[![Code Climate](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002Fthoughtbot\u002Fgitsh.png)](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002Fthoughtbot\u002Fgitsh)\n[![Reviewed by Hound](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FReviewed_by-Hound-8E64B0.svg)](https:\u002F\u002Fhoundci.com)\n\n[our video on Upcase]: https:\u002F\u002Fupcase.com\u002Fvideos\u002Fgitsh?utm_source=github&utm_medium=open-source&utm_campaign=gitsh\n\n## Why should you use gitsh?\n\n* Git commands tend to come in groups. Avoid typing `git` over and over and over\n  by running them in a dedicated git shell:\n\n  \u003Cpre>\u003Ccode>sh$ gitsh\n  gitsh% status\n  gitsh% add .\n  gitsh% commit -m \"Ship it!\"\n  gitsh% push\n  gitsh% \u003Ckbd>ctrl\u003C\u002Fkbd>-\u003Ckbd>d\u003C\u002Fkbd>\n  sh$\n  \u003C\u002Fcode>\u003C\u002Fpre>\n\n* Hit \u003Ckbd>return\u003C\u002Fkbd> with no command to run `git status` (change this\n  command by setting `gitsh.defaultCommand` via `git config`; remember it will\n  be prefixed with `git `), saving even more typing:\n\n      gitsh% ⏎\n      # On branch master\n      nothing to commit, working directory clean\n      gitsh%\n\n* Easily execute shell commands:\n\n      gitsh% !echo Hello world\n      Hello world\n      gitsh%\n\n* Combine commands with `&&`, `||`, and `;`:\n\n      gitsh% commit && push\n\n* Make temporary modifications to your git configuration with gitsh config\n  variables. These changes only affect git commands issued in this gitsh\n  session and are forgotten when you exit, just like shell environment\n  variables.\n\n      gitsh% :set user.name 'George Brocklehurst and Mike Burns'\n      gitsh% :set user.email support+george+mike@thoughtbot.com\n      gitsh% commit -m 'We are pair programming'\n\n* Access information about your repository with magic variables like\n  `$_rebase_base`, `$_merge_base` and `$_prior`.\n\n      gitsh% rebase master\n      CONFLICT (content): Merge conflict in db\u002Fschema.rb\n      gitsh% checkout $_rebase_base -- db\u002Fschema\n      gitsh% !rake db:schema:load db:migrate\n\n* Tab completion for git commands, aliases, and branches without modifying your\n  shell settings, and without any extra setup for aliases and third party\n  git commands.\n\n* Information about the state of your git repository in the prompt, without\n  modifying your shell settings. This includes the name of the current HEAD, and\n  a colour and sigil to indicate the status.\n\n* It works with [`hub`][hub] and [`gh`][gh]:\n\n      sh$ gitsh --git $(which gh)\n      gitsh% pull-request\n\n## Installing gitsh\n\n* macOS, via Homebrew:\n\n      brew tap thoughtbot\u002Fformulae\n      brew install gitsh\n\n* Arch Linux: https:\u002F\u002Fgithub.com\u002Fthoughtbot\u002Fgitsh\u002Fblob\u002Fmaster\u002Farch\u002FPKGBUILD\n\n* OpenBSD -current:\n\n      sudo pkg_add gitsh\n\nSee the [installation guide][INSTALL] for install instructions for other\noperating systems.\n\n## Contributing to gitsh\n\nPull requests are very welcome. See the [contributing guide][CONTRIBUTING] for\nmore details.\n\n## Similar projects\n\n* [git-sh][] - A customised bash shell with a Git prompt, aliases, and\n  completion.\n* [gitsh][] - A simple Git shell written in Perl.\n* [repl][] - Wraps any program with subcommands in a REPL.\n\n[hub]: http:\u002F\u002Fhub.github.com\u002F\n[gh]: https:\u002F\u002Fgithub.com\u002Fjingweno\u002Fgh\n[INSTALL]: https:\u002F\u002Fgithub.com\u002Fthoughtbot\u002Fgitsh\u002Fblob\u002Fmaster\u002FINSTALL\n[CONTRIBUTING]: https:\u002F\u002Fgithub.com\u002Fthoughtbot\u002Fgitsh\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md\n[LICENSE]: https:\u002F\u002Fgithub.com\u002Fthoughtbot\u002Fgitsh\u002Fblob\u002Fmaster\u002FLICENSE\n[git-sh]: https:\u002F\u002Fgithub.com\u002Frtomayko\u002Fgit-sh\n[gitsh]: https:\u002F\u002Fgithub.com\u002Fcaglar\u002Fgitsh\n[repl]: https:\u002F\u002Fgithub.com\u002Fdefunkt\u002Frepl\n\n## License\n\ngitsh is Copyright © 2016 Mike Burns, George Brocklehurst, and thoughtbot. It is\nfree software, and may be redistributed under the terms specified in the\n[LICENSE][LICENSE] file.\n\n## About thoughtbot\n\n![thoughtbot](https:\u002F\u002Fthoughtbot.com\u002Fbrand_assets\u002F93:44.svg)\n\nCreated, maintained and funded by [thoughtbot][team].\nThe names and logos for thoughtbot are trademarks of thoughtbot, inc.\n\n[team]: https:\u002F\u002Fthoughtbot.com?utm_source=github\n\nWe love open source software!\nSee [our other projects][community].\nWe are [available for hire][hire].\n\n[community]: https:\u002F\u002Fthoughtbot.com\u002Ftools?utm_source=github\n[hire]: https:\u002F\u002Fthoughtbot.com\u002Fhire-us?utm_source=github\n","gitsh 是一个专为 Git 设计的交互式 shell。它允许用户在不重复输入 `git` 命令的前提下，直接执行任何 Git 指令，包括本地别名和配置，并且支持通过回车键自动运行 `git status` 或自定义命令。此外，gitsh 还提供了临时修改 Git 配置、执行普通 shell 命令、组合使用逻辑运算符等功能，以及对分支和命令的自动补全支持。该项目特别适合需要频繁操作 Git 仓库的开发者或团队，能够显著提高工作效率。采用 Ruby 语言开发，遵循 BSD 3-Clause 许可协议。",2,"2026-06-11 03:16:01","top_language"]