git
あらかじめgit configしておく。 git config --global merge.conflictstyle diff3 そうすると、コンフリクト時に 共通の祖先の内容も書き出される。 func main() { <<<<<<< HEAD fmt.Println("h2") ||||||| merged common ancestors fmt.Println("Hello") ==…
git branch --merged | grep -v '*' | xargs -I % git branch -d %