summaryrefslogtreecommitdiff
path: root/more
diff options
context:
space:
mode:
authorRobert Dailey <rcdailey@gmail.com>2018-05-21 12:57:44 -0500
committerPeter Dimov <pdimov@gmail.com>2018-12-13 01:16:51 +0200
commit45723a0d0bd1b3cf1ad77997d646bf101e89b620 (patch)
tree1a2466c56398e1f1577c1c1ad586c5240bdc9461 /more
parentc0279ca47838886f8855c579f777a63651f25072 (diff)
downloadboost-45723a0d0bd1b3cf1ad77997d646bf101e89b620.tar.gz
Specify the mainline 'branch' for each submodule
Using the `submodule.<name>.branch` config option (in the `.gitmodules` file), specify the mainline branch for usage by `git submodule update --remote`. The branch is explicitly set to `.` in the config file, which will be replaced with the parent branch name in the repository when the submodule update command is executed. For example, if you have `master` checked out and you run `git submodule update --remote`, then `branch = .` effectively becomes `branch = master`. Likewise with `develop`, it will effectively become `branch = develop`.
Diffstat (limited to 'more')
0 files changed, 0 insertions, 0 deletions