Skip to content

Instantly share code, notes, and snippets.

@nabsha
nabsha / show-remote-branch-info.sh
Created February 19, 2016 04:24 — forked from michaelkirk/show-remote-branch-info.sh
sort remote branches by age
#!/bin/sh
#
# Too many crusty old git branches? Run this to find likely candidates for deletion
# It lists all the remote branches and sorts them by age.
#
# Folks at pivotal shared this with me
#
#$ . show-remote-branch-info.sh
# 2012-05-04 09:42:29 -0700 4 minutes ago Ted & Bill \torigin/hey_Bill
@nabsha
nabsha / .gitconfig
Last active August 13, 2020 02:17 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Nabeel Shaheen
email =
username =
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls