Comments (4)
So you have run git clone <remote>
rather than git clone --recursive <remote>
on the parent repo? How would you like this to be handled? Would you like to see additional validation w/ a more descriptive failure message, or are you thinking that the script should clone the submodules?
from scripts.
Well, ideally just do the right thing and make everything work magically.
I'm not sure if just running git submodule update --init --recursive
at the start is fine or might lose data?
At least, it should show a more helpful error message.
from scripts.
Not sure why this got closed. That change isn't related. Re-opening.
from scripts.
Fixed in the requested "make everything work magically" manner, in change b053efe.
from scripts.
Related Issues (20)
- unknown option 'name-only' HOT 1
- git-submodule-rewrite doesn't handle relative submodule url HOT 2
- git-submodule-rewrite missing one space HOT 2
- git-submodule-rewrite, support revisions HOT 2
- script doesn't work with relative-path submodules HOT 2
- sub-sub-modules end up on wrong commit HOT 2
- git-submodule-rewrite, empty .gitmodules in submodule will break script HOT 1
- git-submodule-rewrite threw away tags HOT 1
- .gitignore files don't combine, files in submodule get ignored if they match a rule in parent's .gitignore
- git-submodule-rewrite works great, but urls cannot be relative HOT 1
- git-submodule-rewrite, actually always failing on git merge -s ours "not something we can merge" HOT 4
- Thanks ! HOT 1
- How to un-submodule multi-branch repo? HOT 2
- File history in GitLab of submodule is a mess. HOT 1
- git-submodule-rewrite: enhance performance by using git-filter-repo HOT 1
- Integrating a submodule into the parent repository together with all branches HOT 1
- This script looks great, but it is not working with my repository HOT 3
- Option to rebase the submodule commits
- git-submodule-rewrite: fails if remote is not called "origin"
- request to add sort to git tag list
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scripts.