Follow this blog

Software engineering, design, and psychology

Tag: git

How to Add Version Control Info to zsh Prompt

MacOS default shell, zsh, comes with a neat version control system integration. It works not only with git, but also with svn, mercurial, and many others

How to Delete All Local Git Branches in One Command

First, checkout to main (or any other branch you want to clear from upstream branches)