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