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:
| default partial alphanumeric_keys modifier_keys | |
| xkb_symbols "l_jurid" { | |
| name[Group1]= "Ukrainian (L)"; | |
| // key <LSGT> { [ ] }; | |
| key <BKSL> { [ backslash, bar, brokenbar ] }; | |
| key <CAPS> { | |
| type[Group1] = "TWO_LEVEL", | |
| symbols[Group1] = [ Multi_key, Caps_Lock ], |
| fpm -h | |
| Intro: | |
| This is fpm version 1.8.0 | |
| If you think something is wrong, it's probably a bug! :) | |
| Please file these here: https://github.com/jordansissel/fpm/issues | |
| You can find support on irc (#fpm on freenode irc) or via email with | |
| [email protected] |
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:
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/