課é¡ç·¨ ã·ã§ã«ã¹ã¯ãªããã§ãããã°ãã¼ãã«ãªç¶æ ãå¤ããæä½ãè¡ãããã®çµæããã§ãã¯ããç¶æ ããã¨ã«æ»ããã¿ãããªã¿ã¹ã¯ãããã¨ãã«ããã®çµæããã§ãã¯ããã®ã¨ããã§ã³ãã³ãã®çµäºã¹ãã¼ã¿ã¹ãå¤æ°ã«å ¥ãã¦ç½®ãããã¿ãããªãã¨ãããã¾ããä¾ãã°ã次ã®ãããªã³ãã³ãæä½ã§ãã set -e # ã°ãã¼ãã«ãªç¶æ ãå¤ããæä½ãè¡ã git merge --no-ff --no-commit $main_branch || true # çµæããã§ãã¯ãã¦exit codeãå¤æ°ã«å ¥ãã git diff --cached --exit-code --quiet ; code=$? # ã°ãã¼ãã«ãªç¶æ ããã¨ã«æ»ã git merge --abort # ä¸ä½ããã»ã¹ã«çµæã渡ã exit $code ã¹ã¯ãªããå ¨ä½ã«ã¯ set -e ï¼ã³ãã³ãã失æããã¨ã·ã§ã«ã¹ã¯ãªãããå³åº§ã«çµäºããï¼ãå¹
{{#tags}}- {{label}}
{{/tags}}