git
› Pro Git
› Atlassian Git Tutorial
› Pro Git 简体中文翻译
› GitX
is
V2EX  ›  git

git 版本标记的一个问题

  •  
  •   is · Jun 10, 2015 · 4170 views
    This topic created in 4136 days ago, the information mentioned may be changed or developed.

    项目的构建脚本,git rev-parse --short HEAD可以获得当前的commit hash.

    有什么方便的方法,如果当前的工作目录有修改,能在commit hash后面多输出一个+号?

    1 replies  •  2015-06-10 13:11:55 +08:00
    adoyle
        1
    adoyle  
       Jun 10, 2015
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2471 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 80ms · UTC 12:23 · PVG 20:23 · LAX 05:23 · JFK 08:23
    ♥ Do have faith in what you're doing.