Skip to content

Instantly share code, notes, and snippets.

@dariusz-wozniak
Created October 28, 2016 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dariusz-wozniak/80ecf0c2a1739280415e6c061d99063d to your computer and use it in GitHub Desktop.
Save dariusz-wozniak/80ecf0c2a1739280415e6c061d99063d to your computer and use it in GitHub Desktop.
Git-ShowRemoteBranches.ps1
function Git-ShowRemoteBranches($filter)
{
if ($filter)
{
git remote show origin | sls $filter
}
else
{
git remote show origin
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment