man cg-update (Commandes) - pull and merge changes from a branch to the local repository

NAME

cg-update - pull and merge changes from a branch to the local repository

SYNOPSIS

cg-update [-f] [--squash] [BRANCH_NAME]

DESCRIPTION

Takes the branch name as an argument, defaulting to origin.

This is basically equivalent to running cg-fetch and cg-merge commands successively. Please refer to the documentation of those commands for more details about the operation.

Note that in the GIT newspeak, the operation being performed by cg-update is now called pull, even though in the past, pull was the name for the operation being now done by cg-fetch, which is even still aliased to cg-pull. Please do not let this confuse you. (Cogito won't call this update operation pull, since about everyone but GIT and BK users uses it in the fetch meaning.)

OPTIONS

-f
Force the complete fetch even if the heads are the same.
--squash
"Squash" merge - condense all the to-be-merged commits to a single merge commit. This is not to be used lightly; see the cg-merge documenation for further details.
-h, --help
Print usage help.

COPYRIGHT

Copyright © Petr Baudis, 2005

SEE ALSO

cg-update command is part of cogito(7), a toolkit for managing git(7) trees.