Skip to content

Instantly share code, notes, and snippets.

Kristijan Novoselić knovoselic

Block or report user

Report or block knovoselic

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
View git-branch-status
#!/bin/bash
# by http://github.com/jehiah
# this prints out some branch status (similar to the '... ahead' info you get from git status)
# example:
# $ git branch-status
# dns_check (ahead 1) | (behind 112) origin/master
# master (ahead 2) | (behind 0) origin/master
TOTAL_DIFFERENCES=0
You can’t perform that action at this time.