From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
-
Switch to the main branch, usually 'develop':
git checkout develop -
Get a list of fully merged branches:
| # Adapted from https://stackoverflow.com/a/7267364/1036500 by Andrie de Vries | |
| # This is it: theme(axis.text.x = element_text(angle = 90, hjust = 1, vjust = 0.5)) | |
| library(ggplot2) | |
| td <- expand.grid( | |
| hjust=c(0, 0.5, 1), | |
| vjust=c(0, 0.5, 1), | |
| angle=c(0, 45, 90), |
| #!/usr/bin/env bash | |
| set -e | |
| # Dreamhost Mosh Install Script | |
| # Jay Williams (https://gist.github.com/jaywilliams/c9ffab789b3f622abc932dd4cfaaeef5) | |
| # Based on the gracious work of: | |
| # Paul R Alexander (https://gist.github.com/palexander/2975305) | |
| # Sami Samhuri https://gist.github.com/samsonjs/4076746 |
From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
Switch to the main branch, usually 'develop':
git checkout develop
Get a list of fully merged branches: