Breakfast of Champions

Daily Photo

Days when I spend the whole day reading a Jack Reacher book and baking chocolate soufflés should be marked with a star in my life. A star for awesome.

Especially when breakfast the next morning is "fallen flourless chocolate cake with white tea."

Ashes to ashes

Daily Photo

Yep, burning the business cards is still cathartic.

Honey comb

Daily Photo

After both halves of our hive swarmed, Andy opened the box to cleanse it from any parasites or infections. It has subsequently been scavenged by other bees, wasps and who knows what else. I'm hoping to have a hive next year, regardless of where I end up.

The dog hates me

Blog

Annie Doggen

Which is unsurprising, because I hate her, too, when she spends four hours licking her butt.

Well, okay, ALL DAY LICKING HER BUTT. Come on, dog, no butt is that tasty.

Archive and delete a git branch

Blog

Head to the top of the git repository.

$ cd path/to/repo/top

Check out the branch you want, pull, update, whatever to put it into the state you want to archive.

$ git co branch-to-archive
$ git up
$ git pull
$ git whatever

Run this to archive the branch

$ git archive branch-to-archive | gzip > ../some/archive/path/repo-name-branch-name.YYMMDD.tar.gz 

Check the repo is what you want:

$ tar tvfz ../some/archive/path/repo-name-branch-name.YYMMDD.tar.gz | less

Delete the branch remotely and locally:

$ git push origin :branch-to-archive
$ git branch -D branch-to-archive

And, of course, I have this in a script.

Pages