If we use the git clone --branch command, we're only copying the specified branch. What is the additional --single-branch param used fo? The documentation isn't clear to me.
TIA
--branch foo automatically checks out foo after the clone is done but the clone downloads all the branches/tags and their reachable data.
--branch foo --single-branch tells git-clone to download only the data reachable from foo and check out foo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With