@@ -131,54 +131,13 @@ $ git pull origin next
131131------------------------------------------------
132132+
133133This leaves a copy of `next` temporarily in FETCH_HEAD, but
134- does not update any remote-tracking branches.
135-
136- * Bundle local branch `fixes` and `enhancements` on top of
137- the current branch, making an Octopus merge:
138- +
139- ------------------------------------------------
140- $ git pull . fixes enhancements
141- ------------------------------------------------
142- +
143- This `git pull .` syntax is equivalent to `git merge`.
144-
145- * Merge local branch `obsolete` into the current branch, using `ours`
146- merge strategy:
147- +
148- ------------------------------------------------
149- $ git pull -s ours . obsolete
150- ------------------------------------------------
151-
152- * Merge local branch `maint` into the current branch, but do not make
153- a commit automatically:
134+ does not update any remote-tracking branches. Using remote-tracking
135+ branches, the same can be done by invoking fetch and merge:
154136+
155137------------------------------------------------
156- $ git pull --no-commit . maint
138+ $ git fetch origin
139+ $ git merge origin/next
157140------------------------------------------------
158- +
159- This can be used when you want to include further changes to the
160- merge, or want to write your own merge commit message.
161- +
162- You should refrain from abusing this option to sneak substantial
163- changes into a merge commit. Small fixups like bumping
164- release/version name would be acceptable.
165-
166- * Command line pull of multiple branches from one repository:
167- +
168- ------------------------------------------------
169- $ git checkout master
170- $ git fetch origin +pu:pu maint:tmp
171- $ git pull . tmp
172- ------------------------------------------------
173- +
174- This updates (or creates, as necessary) branches `pu` and `tmp` in
175- the local repository by fetching from the branches (respectively)
176- `pu` and `maint` from the remote repository.
177- +
178- The `pu` branch will be updated even if it is does not fast-forward;
179- the others will not be.
180- +
181- The final command then merges the newly fetched `tmp` into master.
182141
183142
184143If you tried a pull which resulted in a complex conflicts and
0 commit comments