15 Aug '12, 3pm

Clean your repo, clear you mind:

Clean your repo, clear you mind:

August 15, 2012 Tagged: git git branches Comments (View) Git Landscaping I recently worked on a project with 60+ old feature branches. Most of them had been merged into master and were subsequently abandoned. We decided we wanted to clean up a bit, and git made that easy. Assuming your main branch is named master , and the remote you are cleaning up is called origin : # Be sure everything is up to date. git checkout master git pull # Remove remote tracking branches which no longer exist. # Pass -n for a dry run. git remote prune origin # See what branches are merged. git branch -r --merged master --merged shows you branches that are merged into the named branch. Combine that with -r, which shows you all remote branches, and you can see every merged remote branch. You can get rid of each of these branches with: # Remote git push origin :branch-name # Local git branch -d bra...

Full article: http://robots.thoughtbot.com/post/29355216290/git-landsca...

Tweets

Local residents near infamous Little Blue Run coal ash dump in West Va. score big wins for clean water

Local residents near infamous Little Blue Run c...

grist.org 11 Aug '12, 12pm

Imagine you were facing a life-threatening illness, and your doctor told you this: “You need to move, or you will never su...

Quick Tips On How to Clean Louis Vuitton Bags, ...

pinteresthandbag.com 15 Aug '12, 9pm

« So, what are the top Coach handbags? | MelaniNMomma You can't judge a handbag by its price tag » Quick Tips On How to Cl...

Invest in the Future to explore clean transport opportunities: A new conference called Investing in Future Trans...

Invest in the Future to explore clean transport...

thegreencarwebsite.co.uk 14 Aug '12, 3pm

A new conference called Investing in Future Transport will take place at City Hall, London this Thursday (August 16, 2012)...

Nature Blows My Mind! The Wonders of Shark Skin

Nature Blows My Mind! The Wonders of Shark Skin

treehugger.com 16 Aug '12, 12pm

© Michele Westmorland/Getty Images In honor of Shark Week , we're dedicating this week's pause-and-be-awed moment to shark...

More clean cars equals more jobs

More clean cars equals more jobs

mnn.com 13 Aug '12, 2am

HAPPY HONDAS: New cars means well-paying work in Marysville. (Honda photo) Clean cars create jobs. The Big Three automaker...

Clean Energy Revives Communities, Gets People t...

treehugger.com 16 Aug '12, 1pm

Statistics are one way to gauge our clean energy progress, and lately they've been telling a pretty exciting story. Wind e...

Accel Partners invests US$480K in Mind Edutainm...

e27.sg 15 Aug '12, 1am

Accel Partners, global venture and growth equity firm has announced its investment of INR 2.7 crores (USD$ 480,000) in Min...