V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
yangg
V2EX  ›  git

原来github commit 里 (fixes #123) 可以自动关闭issue

  •  
  •   yangg · 2012-02-12 18:04:30 +08:00 · 6744 次点击
    这是一个创建于 4458 天前的主题,其中的信息可能已经有所发展或是发生改变。
    假如不用这种关闭,怎么在issue里链接 到commit?

    类似这种都有什么好玩的玩意呢?
    哪里有这种小技巧的介绍或文档呢?
    4 条回复    1970-01-01 08:00:00 +08:00
    myrual
        1
    myrual  
       2012-02-12 19:27:20 +08:00
    似乎这是一个惯例,redmine里面也可以用这种方式来关闭issue。
    techzhou
        2
    techzhou  
       2012-02-12 21:54:57 +08:00
    github主页上见过 tips 貌似还有close
    Andor_Chen
        3
    Andor_Chen  
       2012-02-12 22:26:54 +08:00
    commit 中可包含的关键词:close, closes, closed, fixes, fixed

    可以通过这样的格式来关闭 issue:closed by commit [sha1]

    详情:https://github.com/features/projects/issues
    yangg
        4
    yangg  
    OP
       2012-02-15 19:16:36 +08:00
    @Andor_Chen Many thanks
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1002 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:03 · PVG 03:03 · LAX 12:03 · JFK 15:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.