How to install latest (untagged) state of a repo using bower?

后端 未结 6 710
你的背包
你的背包 2020-11-29 15:35

I have a very small repo in which I do all dev work in the master branch and use tags as \"stable\" points in history.

I guess by default Bower seems to fet

6条回答
  •  被撕碎了的回忆
    2020-11-29 16:11

    Specify a git commit SHA instead of a version:

    bower install '#'
    

    Example:

    bower install 'git://github.com/yeoman/stringify-object.git#d2895fb97d'
    

    You can also specify a branch instead of a SHA, but that's generally not recommended unless it's in development and you control all the parts.

提交回复
热议问题