(branch)
Switch the repo branch which the server is using
Switch the repo branch which the server is using
Switch the repo branch which the server is using
def switch(branch):
    """Switch the repo branch which the server is using"""
    with cd(env.proj_root):
        ve_run('git checkout %s' % branch)
    restart()
def switch ( branch ) : with cd ( env . proj_root ) : ve_run ( 'git checkout %s' % branch ) restart ( )