Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 142f5474de
Fetching contributors…

Cannot retrieve contributors at this time

executable file 7 lines (5 sloc) 0.191 kb
#!/bin/bash
#
# returns the upstream branch name if any
remote=$("$GIT_EXE" rev-parse --symbolic-full-name --abbrev-ref @{u} 2> /dev/null)
[[ $remote == "@{u}" ]] && echo "" || echo $remote
Jump to Line
Something went wrong with that request. Please try again.