Staying Up to Date
After you have been working on a branch for some time, you will likely want to update your branch with the latest changes from the branch it was based on.
The git branch-update
subcommand will:
- fetch the latest changes from the origin of all the repositories.
- update your branch with the latest changes in the base repository.
- update all enabled modules up to the change associated with where the base repository was updated to.
$ evg-module-manager git branch-update
Base: updated to latest 'master'
- enterprise: 07c4792479f85fb8af129a87ee6e116c4b7d7808
Now that your changes have been updated, you can create a pull request or send them to evergreen.