Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update submodules on git checkout #732

Closed
wants to merge 1 commit into from

Conversation

mfine
Copy link
Contributor

@mfine mfine commented Jun 6, 2016

When checking out a git repository, also pull in the submodules. The changes here call git submodule update --init --recursive once the repo is cloned, and then if there's a hash to checkout, to call git submodule update --recursive after the hash has been checked out.

Not sure what best practices are around git submodules are - both of these commands seemingly succeed on repos without submodules - but they could be alternatively conditionally run if a .gitmodules file was present?

/cc @nzoschke

Release Playbook

  • Rebase against master
  • Release branch ()
  • Pass CI ()
  • Code review
  • Merge into master
  • Release master ()
  • Pass CI ()
  • Update staging rack
  • Edit Rack release record and/or update docs
  • Publish release
  • Release CLI

@ddollar
Copy link
Contributor

ddollar commented Jun 6, 2016

Closes #729

@MiguelMoll MiguelMoll mentioned this pull request Jun 7, 2016
14 tasks
@MiguelMoll
Copy link
Contributor

Thanks! I'll be merging this into #739 for a release.

@MiguelMoll MiguelMoll closed this Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants