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

git 版本标记的一个问题

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