From the course: Git Dependency Management with Submodules and Subtrees
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Installing Git subtrees
From the course: Git Dependency Management with Submodules and Subtrees
Installing Git subtrees
- [Instructor] It's time to get your hands dirty. In order to use Git Subtrees, you have to install it. I know exactly what you're thinking. Isn't Git Subtree already available with the default Git package? Yes, it is. When you first type Git Subtree in the terminal, you will find that Git Subtree already installed. But this version that's available with the default Git package may not contain Git Subtrees with the .gittrees config file which is necessary for a code sharing development workflow. Without the config file, it's difficult to detect Subtrees because they just look like sub folders. For installing Git Subtrees, please refer to this link. This link is a bit old, so there are some changes. Before I get started, I just want to let you know about my development environment. I'm using MacOS Ventura 13.3.1. The instructions are mostly the same. I install Git Subtree from the installer, that is from the contrib folder…
Contents
-
-
-
-
-
(Locked)
Introduction to Git subtrees1m 44s
-
(Locked)
Git subtrees in action on GitHub1m 37s
-
(Locked)
Installing Git subtrees3m 46s
-
(Locked)
Git subtrees in action in your terminal and VSCode4m 29s
-
(Locked)
More commands with Git subtrees3m 2s
-
(Locked)
Challenge: Squash with add, split subtrees30s
-
(Locked)
Solution: Squash with add, split subtrees2m 2s
-
(Locked)
-
-