Size: 620
Comment:
|
Size: 821
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
/!\ NOTE: checkouts and repositories do not exist yet |
|
Line 3: | Line 5: |
[:StandaloneBranch:Standalone branches] are clearly a branch in every sense of the word as the full history for a branch is present. A [:RepositoryBranch:Repository branches] also qualifies as a branch, even though the tree does not have an integrated working tree. | Branches may or may not come with a [:WorkingTree:working tree]. [:Checkout:checkout]s and [:StandaloneBranch:Standalone branches] both provide you with working tree to hack on your code with. Technically a checkout is not a branch because it does not contain all of the ordered revisions that make a branch a branch. |
Line 5: | Line 7: |
A [:Checkout:checkout], on the other hand, is technically not a branch because it does not contain all of the ordered revisions that make a branch a branch. | Another type of branch is a [:RepositoryBranch:Repository branch]. These types of branches are tucked away inside of a repository and should not be hacked on directly. Instead, either branch from them, or make a checkout for them that you can hack. |
NOTE: checkouts and repositories do not exist yet
In the simplist of terms, a branch is the place that [:Revision:revisions]s go to when [:Commit:commit] is run. The revisions stored in a branch are ordered according to their introduction.
Branches may or may not come with a [:WorkingTree:working tree]. [:Checkout:checkout]s and [:StandaloneBranch:Standalone branches] both provide you with working tree to hack on your code with. Technically a checkout is not a branch because it does not contain all of the ordered revisions that make a branch a branch.
Another type of branch is a [:RepositoryBranch:Repository branch]. These types of branches are tucked away inside of a repository and should not be hacked on directly. Instead, either branch from them, or make a checkout for them that you can hack.