npmã³ãã³ãã§ããæ¸ããã¿ã¼ã³ã«Gitã§åºå®ã®ãã¡ã¤ã«ãã¹ãã¼ã¸ãã¦ã³ãããããã¨ãããããªãã®ãããããªãããã®å¦çãè¡ãã¡ã¤ã³ã³ãã³ãã®postã³ãã³ãã§ãããããã¾ãã«ãã®åºå®ã®ãã¡ã¤ã«ãæ´æ°ãããªããã¨ãããããã®æã³ããããã¦ãã¾ãã¨commitãµãã³ãã³ããæ£å¸¸ã«(çµäºã³ã¼ã0ã§)çµäºããªãããããé¿ããããã«ã¯ã¹ãã¼ã¸ããããã¨ã§æ´æ°ããã£ããã©ããããã§ãã¯ããå¿ è¦ããããã¨ã«ãªããããã¯diffãµãã³ãã³ãã®--exit-codeãªãã·ã§ã³ã使ãã¨ãã¾ãæ¸ããã¨ãã§ããã ä¾ãã°æ´æ°ããã¦ãããããããªãfooã¨ãããã¡ã¤ã«ãã¹ãã¼ã¸ãã¦ãæ´æ°ããã£ãå ´åã«ã®ã¿ã³ãããããããã¨ããã¨ä»¥ä¸ã®ããã«ã³ãã³ããã¤ãªããã°è¯ãã $ git add foo && git diff --cached --exit-code --quiet || git commit --mes
{{#tags}}- {{label}}
{{/tags}}