V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ectotherm
V2EX  ›  程序员

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

  •  
  •   ectotherm ·
    axplus · Jan 17, 2012 · 6326 views
    This topic created in 5214 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
        1
    sogood  
       Jan 17, 2012
    你想问什么?
    lldong
        2
    lldong  
       Jan 17, 2012
    `brew search git`
    bitsmix
        3
    bitsmix  
       Jan 17, 2012
    我也想知道你想问什么。

    基于 git 的命令行工具⋯⋯

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

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

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

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

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