cg-push - push changes to a remote git repository
cg-push [-r LOCAL_BRANCH] [REMOTE_BRANCH] [-t TAG]…
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".
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.
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.
Print usage summary.
Print user manual. The same as found in cg-push(1).
Copyright © Petr Baudis, 2005.