Skip to content

Instantly share code, notes, and snippets.

Nicklas Ansman Giertz ansman

Block or report user

Report or block ansman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ansman
ansman / git-purge-branches.sh
Created Jun 10, 2013
Shell function to remove fully merged git branches
View git-purge-branches.sh
function git-purge-branches {
CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
if ! [ "$CURRENT_BRANCH" = 'master' ]; then
echo 'Please stash your work and checkout master'
return
fi
git fetch -p
@ansman
ansman / brew-config.log
Created Aug 3, 2012
Homebrew issue #13845
View brew-config.log
HOMEBREW_VERSION: 0.9.2
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
You can’t perform that action at this time.