NAME 

cg-push - push changes to a remote git repository

SYNOPSIS 

cg-push [-r LOCAL_BRANCH] [REMOTE_BRANCH] [-t TAG]...

DESCRIPTION 

It will push your commits on the current branch (or as specified by the -r option) to the remote repository, provided that your commits follow the last commit in the remote repository.

Note that if the remote repository is associated with a working tree copy, this command won't update that. Use cg-reset at the remote side to bring it in sync (but throw away any local changes in that tree). Consider setting up a standalone repository (see cg-admin-setuprepo(1)).

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

OPTIONS 

-r BRANCH
Pushes the given branch instead of the current one. Note that we lie a little here and you can actually specify a particular commit here, but you probably will not want to do that.
-t TAG
Tells cg-push to also push the given tag. Note that in the future, cg-push should push tags automatically. Also note that even if you pass cg-push(1) the -t arguments, your HEAD is still pushed as well in addition to the tags.
-h, --help
Print usage summary.
--long-help
Print user manual. The same as found in cg-push(1).

COPYRIGHT 

Copyright © Petr Baudis, 2005.

SEE ALSO 

cg-push is part of (7), a toolkit for managing (7) trees.