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

NAME

6       cg-fetch - fetch changes from a remote branch to the local repository
7

SYNOPSIS

9       cg-fetch [-f] [-v] [BRANCH_NAME]
10
11

DESCRIPTION

13       Takes the branch name as an argument, defaulting to origin.
14
15       This will fetch the latest changes from a remote repository to the
16       corresponding branch in your local repository. Note that this operation
17       does not involve merging those changes to your own branch - that is
18       being done by the cg-merge(1) command. cg-update(1) exists to
19       conveniently bundle the act of fetching and merging to your working
20       branch together.
21
22       Before the first fetch, you have to tell Cogito about the remote
23       branch. This should be done by the cg-branch-add(1) command. See its
24       documentation for the list of supported fetching protocols and other
25       details. Note that one exception to this is the origin branch, which
26       was set to the location of the source repository if you created yours
27       using the cg-clone(1) command.
28
29       Note that the operation now being performed by cg-fetch(1) (fetching)
30       was called pulling in the past. However, GIT recently changed this
31       terminology, and after sufficient transition period, the pulling
32       expression will be instead used for the operation now performed by the
33       cg-update(1) command. Please do not let this confuse you.
34
35

OPTIONS

37       -f     Force the complete fetch even if the heads are the same.
38
39       -v     Display more verbose output - most notably list all the files
40              touched by the fetched changes. Use twice to get even more
41              verbosity, that is raw progress information instead of the
42              progress bar.
43
44       -h, --help
45              Print usage summary.
46
47       --long-help
48              Print user manual. The same as found in cg-fetch(1).
49

ENVIRONMENT

51       RSYNC  The command to invoke when we want to call the rsync tool (only
52              used when fetching over the rsync protocol). Defaults to rsync.
53
54       RSYNC_FLAGS
55              Additional flags to be passed to the rsync tool when fetching
56              over the rsync protocol.
57
59       Copyright © Petr Baudis, 2005.
60
61

SEE ALSO

63       cg-fetch is part of cogito(7), a toolkit for managing git(7) trees.
64
65
66
67
68                                  12/11/2006                       CG-FETCH(1)
Impressum