cg-switch(1)

NAME

cg-switch - switch the working tree to a different (or
new) local branch

SYNOPSIS

cg-switch [-f] [-l | -n | -p] [-c | -r COMMIT_ID]
BRANCH.sp

DESCRIPTION

Arrayon a given commit..sp Terminology note: This command concerns local branches (also called "heads"), not remote branches (those
managed by cg-branch-add(1))..sp Note that cg-switch(1) is meant for permanent switching of your current local branch (permanent
in the sense that you are going to work on it; you can obviously
cg-switch(1) again later). If you want to just casually explore the current state of a particular branch of commit, use
cg-seek(1)..sp

OPTIONS

Arraybranch pointer is modified if -r is passed and confirmed by -f.
-h, --help
Print usage summary.
--long-help
Print user manual. The same as found in cg-switch(1).

EXAMPLE USAGE

Arrayto the original contents of the "v1.x" branch, be careful!):.sp
$ cg-switch -f -r testing v1.x

COPYRIGHT

Copyright © Yann Dirson, Petr Baudis 2005.sp

SEE ALSO

Array12/05/2006
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout