Exemplo n.º 1
0
def git_current_branch():
    return ex.run_cmd_output('git rev-parse --abbrev-ref HEAD')
Exemplo n.º 2
0
def git_check_master():
    return not ex.run_cmd_output('git diff master origin/master')
Exemplo n.º 3
0
def git_cache_credential():
    return ex.run_cmd_output('git config --global credential.helper cache')