Delete already-merged branchs in Git
2020年10月13日
$ git branch --merged | egrep -v 'master|develop' | xargs -n 1 git branch -d
You can safelist more branches in egrep -v 'master|develop|foo|bar'
$ git branch --merged | egrep -v 'master|develop' | xargs -n 1 git branch -d
You can safelist more branches in egrep -v 'master|develop|foo|bar'
Simply put a space before the command and it won't be saved to ~/.bash\_history. E.g. qrencode -o out.png "Some secret text"
To upgrade postgres you can run
Open term (or equivalent) and paste the following: