📝 keeping submodules up to date
This commit is contained in:
parent
1c87acbb75
commit
916114dd28
1 changed files with 27 additions and 0 deletions
|
@ -62,3 +62,30 @@ Electron
|
||||||
when creating a distribution.
|
when creating a distribution.
|
||||||
* **external_binaries** - Downloaded binaries of third-party frameworks which
|
* **external_binaries** - Downloaded binaries of third-party frameworks which
|
||||||
do not support building with `gyp`.
|
do not support building with `gyp`.
|
||||||
|
|
||||||
|
## Keeping Git Submodules Up to Date
|
||||||
|
|
||||||
|
The Electron repository has a few vendored dependencies, found in the
|
||||||
|
[/vendor](/vendor) directory. Occasionally you might see a message like this
|
||||||
|
when running `git status`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ git status
|
||||||
|
|
||||||
|
modified: vendor/brightray (new commits)
|
||||||
|
modified: vendor/node (new commits)
|
||||||
|
```
|
||||||
|
|
||||||
|
To update these vendored dependencies, run the following command:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
|
||||||
|
If you find yourself running this command often, you can create an alias for it
|
||||||
|
in your `~/.gitconfig` file:
|
||||||
|
|
||||||
|
```
|
||||||
|
[alias]
|
||||||
|
su = git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue