Hacker News new | ask | show | jobs
by layer8 895 days ago
So I can “commit” a repo containing some history as the new version of a previous repo containing a different history?
1 comments

You can, if histories are related. They usually are - you add commits on top. Your history will be reverse-transformed in such a way so that its impact on the whole metarepo can be assessed. So if you modified a file in a library that ten other applications depend on, those applications would get this modification applied and would trigger a CI run to verify your change.