有什么基于git的命令行工具吗?

2012 年 1 月 17 日
 ectotherm
1. 感觉git很多命令很强大,但是我用不到,却每次要敲一堆的命令;
2. 我懒得自己写一个;
3. 我的帐号居然被stackoverflow封了,汗!

请教了,谢谢!
6258 次点击
所在节点    程序员
24 条回复
sogood
2012 年 1 月 17 日
你想问什么?
lldong
2012 年 1 月 17 日
`brew search git`
bitsmix
2012 年 1 月 17 日
我也想知道你想问什么。

基于 git 的命令行工具⋯⋯

hub 算么?
icyflash
2012 年 1 月 17 日
windows可以使用powershell https://github.com/dahlbyk/posh-git
ectotherm
2012 年 1 月 17 日
@sogood @lldong @bitsmix @icyflash 类似hub的工具,但是hub绑定到github,我记得以前好像有一些类似的封装,忘记叫什么了
dofine
2012 年 1 月 17 日
额 oh-my-zsh 里 git 的插件算么。
ectotherm
2012 年 1 月 17 日
@dofine 好像不太算吧。

@sogood @lldong @bitsmix @icyflash @ectotherm 我重新整理一下需求,其实就是下午我碰到操作svn过程中一些比较繁琐的问题,所以想有没有这种东西。比如smartgit就是一个类似的东西,但是它比我要的强大太多了,而且收费。
ectotherm
2012 年 1 月 17 日
对了,还有比如gclient,但是这个东西是chromium专用的。我要有个东西专门来操作svn和自动帮我执行git gc之类命令的。
bitsmix
2012 年 1 月 17 日
自己写alias呢?或者用zsh里面的git的插件(其实就是alias没错啊。)
bitsmix
2012 年 1 月 17 日
如果你用的是mac ,推荐 sourcetree 。
ectotherm
2012 年 1 月 17 日
@bitsmix cli远远比gui快很多,仅仅在看图标或者比较历史的时候,gui会比cli直观。我现在就保持着用svn git等命令行的习惯。

现在碰到的问题是用git操作svn库,有些命令太累赘了,算了我重新思考下自己的需求,整理一份脚本。
toothpaste
2012 年 1 月 17 日
可以用 tig 来看历史.
bitsmix
2012 年 1 月 17 日
@ectotherm 把 svn 转成 git 的仓库呗
spritevan
2012 年 1 月 17 日
ectotherm
2012 年 1 月 17 日
@bitsmix 中央库是svn的,这点没法改变。
ectotherm
2012 年 1 月 17 日
@spritevan 帅,我看看
sogood
2012 年 1 月 17 日
还是自定义吧。
请参考 Play Git Like A Violin
http://www.metacircus.com/hacking/2011/02/18/play-git-like-a-violin.html
ssword
2012 年 1 月 17 日
从同事那里见过一个tig挺不错的,有个基于ncurse的图形界面,可以省去一堆git add xxx
ssword
2012 年 1 月 17 日
shawiz
2012 年 1 月 17 日

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://study.congcong.us/t/25751

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX