Comments (2)
This is the same issue as #15, which was never resolved.
from scripts.
It has been a while since I looked at this, but I believe the commit hash is stored in the .gitmodules file. The script has a few places that it reads from that file, so you should be able to use the same technique to checkout the commit you need. Alternatively, git submodule status
should give you the commit hash value. Please submit a PR, if you get it working. The behavior you describe is the correct behavior. I just never happened to need that functionality, so I never ran into it.
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
- 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.