示例#1
0
def remote_personal_url():
    try:
        return git.config("remote.personal.url").strip()
    except sh.ErrorReturnCode:
        return None
示例#2
0
def remote_lingbib_url():
    try:
        return git.config("remote.lingbib.url").strip()
    except sh.ErrorReturnCode:
        return None
示例#3
0
def branch_master_tracking_personal():
    try:
        return REMOTE_PERSONAL in git.config("branch.master.remote")
    except sh.ErrorReturnCode:
        return False