Skip to content

Instantly share code, notes, and snippets.

@martin-bb
martin-bb / .bash_profile
Created July 12, 2018 18:26
bash function to delete local versions of remotely pruned branches
function gitfp() {
re="\[deleted\].*origin\/(.*)"
# git doesn't go to STDOUT but STDERR...don't know why
output="$(git fetch -p 2>&1)"
if [ -z "$output" ]; then
return 0
fi
echo "${output}"
@martin-bb
martin-bb / keybase.md
Created May 4, 2018 09:48
keybase.md

Keybase proof

I hereby claim:

  • I am martin-bb on github.
  • I am martinbb (https://keybase.io/martinbb) on keybase.
  • I have a public key ASCD3_kkDEgDfoj27RqIg-7A7bAgxbrl1kBRVax-kX5gFQo

To claim this, I am signing this object: