1CG-PUSH(1)                                                          CG-PUSH(1)
2
3
4

NAME

6       cg-push - push changes to a remote repository
7

SYNOPSIS

9       cg-push [-r LOCAL_BRANCH] [-t TAG]... [REMOTE_BRANCH]...
10
11

DESCRIPTION

13       It will push your commits on the current branch (or as specified by the
14       -r option) to one or more remote repositories, provided that your
15       commits follow the last commit in each of the remote repositories.
16
17       Note that if a remote repository is associated with a working tree
18       copy, this command won't update that. Use cg-reset at the remote side
19       to bring it in sync (but throw away any local changes in that tree).
20       Consider setting up a standalone repository (see
21       cg-admin-setuprepo(1)).
22
23       You can set up update hooks in the remote repository to bind any action
24       to the push (e.g. sending an email or CIA notification or even
25       verifying if the commits are well-formed before letting them in). See
26       git-receive-pack(1) documentation for details.
27
28       Takes the branch names as arguments, defaulting to "origin".
29
30

OPTIONS

32       -r BRANCH
33              Pushes the given branch instead of the current one. Note that we
34              lie a little here and you can actually specify a particular
35              commit here, but you probably will not want to do that.
36
37       -t TAG Tells cg-push to also push the given tag. Note that in the
38              future, cg-push should push tags automatically. Also note that
39              even if you pass cg-push(1) the -t arguments, your HEAD is still
40              pushed as well in addition to the tags.
41
42       -h, --help
43              Print usage summary.
44
45       --long-help
46              Print user manual. The same as found in cg-push(1).
47
49       Copyright © Petr Baudis, 2005.
50
51

SEE ALSO

53       cg-push is part of cogito(7), a toolkit for managing git(7) trees.
54
55
56
57
58                                  12/11/2006                        CG-PUSH(1)
Impressum