table of contents
GIT-REINTEGRATE(1) | GIT-REINTEGRATE(1) |
NAME¶
git-reintegrate - Manage integration branches in Git
SYNOPSIS¶
git reintegrate --create <name> [<base>] git-reintegrate --generate <name> [<base>] git-reintegrate --add=<name> git-reintegrate (--edit | --rebuild | --apply | --cat | --status) [<name>] git reintegrate (--continue | --abort) git-reintegrate --list
DESCRIPTION¶
This tool is a helper to be able to manage integration branches in Git easily. It does so by specifying a list of merges to be applied on top of a base branch. Each one of these merges can have a description that will be used as the merge commit message.
This instruction sheet can be autogenerated and modified in various ways through the command line, or manually edited.
Finally the integration branch can be rebuilt, and previous conflicts resolutions can be reused thanks to git rerere.
OPTIONS¶
--create
If no base is specified, master is assumed.
--generate
If no base is specified, master is assumed.
--[no-]rebuild
--edit
--cat
--status
--add=<branch>
--continue
--abort
--[no-]autocontinue
--list
--delete
--apply
If --continue or --abort are specified then no other options may be given.
CONFIGURATION¶
integration.autocontinue
integration.autorebuild
FORMAT OF INSTRUCTIONS¶
The instruction sheet consists of a series of instructions which begin in column zero, each of which may be followed by indented comments. The following instructions are supported:
base <ref>
merge <ref> [<options>]
If any options are given after the ref (and on the same line) then these are passed to git merge. This may be useful for specifying an alternative merge strategy for a branch.
fixup <ref>
commit
pause
. <args...>
Example¶
base master merge my-experimental-feature
I think this is a good idea, but want to dogfood it before I
decide whether to submit it upstream. merge my-site-specific-changes
Some changes to suit my environment. DO NOT SUBMIT THESE.
01/17/2021 |