News for hackers. Stuff that matters.
Re:Git Submodules: Adding, Using, Removing, Updating (2009) by coryrc on Wednesday February 17, 2021 @11:53AM (#26168513)
Your later half is essentially what subtree does, but it can also merge changes if you have any.
Re:Git Submodules: Adding, Using, Removing, Updating (2009) by dataflow on Wednesday February 17, 2021 @04:08PM (#26171803)
Wait really? I thought subtree stores a copy of the other repo?
Re:Git Submodules: Adding, Using, Removing, Updating (2009) by coryrc on Thursday February 18, 2021 @12:03PM (#26182394)
Maybe I misunderstood and you aren't checking in those files, in which case it isn't the same.