• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ectotherm
V2EX  ›  程序员

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

  •  
  •   ectotherm ·
    axplus · Jan 17, 2012 · 6755 views
    This topic created in 5403 days ago, the information mentioned may be changed or developed.
    1. 感觉git很多命令很强大,但是我用不到,却每次要敲一堆的命令;
    2. 我懒得自己写一个;
    3. 我的帐号居然被stackoverflow封了,汗!

    请教了,谢谢!
    24 replies  •  1970-01-01 08:00:00 +08:00
    sogood
    sogood
    Jan 17, 2012
    1
    你想问什么?
    lldong
    lldong
    Jan 17, 2012
    2
    `brew search git`
    bitsmix
    bitsmix
    Jan 17, 2012
    3
    我也想知道你想问什么。

    基于 git 的命令行工具⋯⋯

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

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

    现在碰到的问题是用git操作svn库,有些命令太累赘了,算了我重新思考下自己的需求,整理一份脚本。
    toothpaste
    toothpaste
    Jan 17, 2012
    12
    可以用 tig 来看历史.
    bitsmix
    bitsmix
    Jan 17, 2012
    13
    @ectotherm 把 svn 转成 git 的仓库呗
    ectotherm
    ectotherm
    OP
    Jan 17, 2012
    15
    @bitsmix 中央库是svn的,这点没法改变。
    ectotherm
    ectotherm
    OP
    Jan 17, 2012
    16
    @spritevan 帅,我看看
    sogood
    sogood
    Jan 17, 2012
    17
    还是自定义吧。
    请参考 Play Git Like A Violin
    http://www.metacircus.com/hacking/2011/02/18/play-git-like-a-violin.html
    ssword
    ssword
    Jan 17, 2012
    18
    从同事那里见过一个tig挺不错的,有个基于ncurse的图形界面,可以省去一堆git add xxx
    tsuibin
    tsuibin
    Jan 18, 2012
    21
    推荐个好用的图形化的git吧
    zxwind
    zxwind
    Jan 18, 2012
    22
    其实我想问的是楼主怎么被stackoverflow封的
    ectotherm
    ectotherm
    OP
    Jan 18, 2012
    24
    @zxwind 说发帖不符合他们的faq要求,就封了

    @tsuibin 目前最好用的我觉得是tower

    不过要真正发挥出git所有用途还是命令行。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5373 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 02:54 · PVG 10:54 · LAX 18:54 · JFK 21:54
    ♥ Do have faith in what you're doing.