Skip to content

Instantly share code, notes, and snippets.

@sylvainraye
sylvainraye / gitdeleteallbranches-exceptmaster.sh
Created September 10, 2013 08:52
Delete all branches of a Git repo (locally and remotely) except the master branch
for t in `git branch | grep -v "master"`
do
git branch -D $t
git push --delete origin $t
done
@ziadoz
ziadoz / awesome-php.md
Last active April 17, 2024 21:06
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.