Beispiel #1
0
def dump():
    """Print raw config info."""
    print("-----Git Branches-----")
    git.branch("-vv", _out=gitout)

    print()
    print("-----Git Remotes-----")
    git.remote("-v", "show", _out=gitout)
Beispiel #2
0
def using_ssh_urls():
    try:
        return "git@github" in git.remote("-v")
    except sh.ErrorReturnCode:
        return False