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

git 版本标记的一个问题

  •  
  •   is · Jun 10, 2015 · 4163 views
    This topic created in 4133 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   ·   1187 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:42 · PVG 00:42 · LAX 09:42 · JFK 12:42
    ♥ Do have faith in what you're doing.