You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow the commit to be passed in as a file. Also added the option
of modifying the commit message for the push command.
Change-Id: Id8e245a80ad46d2a303b0e18739e40f4ba6f3f45
Add subrepo branch to current history as a single commit.
286
281
287
-
This command is generally used after a hand-merge. You have done a C<subrepo
288
-
branch> and merged (rebased) it with the upstream. This command takes the HEAD
282
+
This command is generally used after a hand-merge. You have done a C<subrepobranch> and merged (rebased) it with the upstream. This command takes the HEAD
289
283
of that branch, puts its content into the subrepo subdir and adds a new commit
290
284
for it to the top of your mainline history.
291
285
292
286
This command requires that the upstream HEAD be in the C<< subrepo/<subdir> >>
293
287
branch history. That way the same branch can push upstream. Use the C<--force>
294
288
option to commit anyway.
295
289
296
-
The C<commit> command accepts the C<--edit>, C<--fetch>, C<--force> and C<--
297
-
message=> options.
290
+
The C<commit> command accepts the C<--edit>, C<--fetch>, C<--file>, C<--force>
291
+
and C<--message=> options.
298
292
299
293
=item C<< git subrepo status [<subdir>|--all|--ALL] [-F] [-q|-v] >>
300
294
301
-
Get the status of a subrepo. Uses the C<--all> option by default. If the C<--
302
-
quiet> flag is used, just print the subrepo names, one per line.
295
+
Get the status of a subrepo. Uses the C<--all> option by default. If the C<--quiet> flag is used, just print the subrepo names, one per line.
303
296
304
297
The C<--verbose> option will show all the recent local and upstream commits.
305
298
@@ -416,6 +409,10 @@ Edit the commit message before committing.
416
409
417
410
Use this option to fetch the upstream commits, before running the command.
418
411
412
+
=item C<< --file=<commit msg file> >>
413
+
414
+
Supply your own commit message from a file
415
+
419
416
=item C<--force> (C<-f>)
420
417
421
418
Use this option to force certain commands that fail in the general case.
@@ -486,8 +483,7 @@ The C<git-subrepo> command exports and honors some environment variables:
486
483
487
484
=item C<GIT_SUBREPO_ROOT>
488
485
489
-
This is set by the C<.rc> file, if you use that method to install / enable C<git-
490
-
subrepo>. It contains the path of the C<git-subrepo> repository.
486
+
This is set by the C<.rc> file, if you use that method to install / enable C<git-subrepo>. It contains the path of the C<git-subrepo> repository.
0 commit comments