Skip to content

Instantly share code, notes, and snippets.

View bacrossland's full-sized avatar

Bryan Crossland bacrossland

  • Minneapolis, MN
View GitHub Profile
@bacrossland
bacrossland / git_remove_old_branches.rb
Created April 4, 2018 04:20
Ruby script for removing old local and remote git branches
#!/usr/bin/ruby
branches = `git branch --list `
branches.gsub!('\n')
branches_arr = branches.split
# Removing from the branches_arr the branches you want to keep.
# Add or remove branches from here based on your need.
branches_arr.delete('*')
@bacrossland
bacrossland / circleci.log
Created November 18, 2015 14:56
Failing libpango install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libkmod2