This report is about the ProGit book, version 2, English language.
[X] This bug is not about a translation or old version
Bug covers book website/pdf
[ ] I confirm the bug is about the book as found on the website/pdf
Problem is present in the Pro Git book on the website?
[X] This bug also affects the Pro Git book as published on the website.
Which version of the book is affected?
I don't know
Describe the bug:
A repository has 1 or more submodules defined in .gitsubmodules.
If a submodule's commit ID is updated by one developer
Then another another developer pulls from develop, the submodule will show as reversion locally.
The "Unstaged" item needs to be discarded so the new developer can continue with the updated submodule.
Steps to reproduce:
Developer 1 opens repository with submodule
Alter something in the submodule
Commit the changes to the submodule
Commit the changes to the parent repository in Step 1
Developer 2 pulls from Develop
Sees the submodule with the commit Ids reversed. (new commit id is the old one)
It sounds like this is a complaint about how Git behaves, and not how the book is describing that behavior? I'm going to close it for now, feel free to reopen if you disagree.
There's no existing/similar bug report.
This report is about a single actionable bug.
This report is about the ProGit book, version 2, English language.
Bug covers book website/pdf
Problem is present in the Pro Git book on the website?
Which version of the book is affected?
I don't know
Describe the bug:
A repository has 1 or more submodules defined in .gitsubmodules. If a submodule's commit ID is updated by one developer Then another another developer pulls from develop, the submodule will show as reversion locally.
The "Unstaged" item needs to be discarded so the new developer can continue with the updated submodule.
Steps to reproduce:
Expected behavior:
It shouldn't show the submodule as a change
Screenshots:
No response
Additional context:
No response
Device
No response
Operating system
No response
Browser/application + version
No response