ããããã㨠éçºãã¦ããã¨ä¸è¦ãªãã©ã³ãããã¼ã«ã«ã«æºã¾ã£ã¦ãã¾ãã®ã§ã¾ã¨ãã¦ä¸çºã§åé¤ããã ã³ãã³ã ãã¤ãã¨xargsãå©ç¨ãã¦ã¾ã¨ãã¦æ¶ããããã«ããã³ãã³ã $ git branch | grep -v "*" | grep -v master | xargs git branch -D grep ã® -v ãªãã·ã§ã³ã¯é¤å¤ã ãã©ã³ãä¸è¦§ãããã«ã¬ã³ãã示ã * 㨠masterãã©ã³ããé¤å¤ãããã©ã³ããåé¤ãã ã¨ã¤ãªã¢ã¹å æã å®è¡ãããã¨ãããã®ã§ã zshrc ã«ã¨ã¤ãªã¢ã¹ã¨ãã¦ä»¥ä¸ã追å ããã alias delete_branches='git branch | grep -v "*" | grep -v master | xargs git branch -D' å©ç¨ãã¦ã¿ã $ delete_branches Deleted branch feature/1
{{#tags}}- {{label}}
{{/tags}}