stack-attack icon indicating copy to clipboard operation
stack-attack copied to clipboard

Glossary [Keep this issue open till we complete the whole project]

Open saphal1998 opened this issue 6 years ago • 1 comments

Glossary

This issue clarifies all the git terminology we use thorughout this repository. The terms are listed in the following format.

[Term] - [Reference/s] - [Interpretation]

  1. Branch - [General] - Elaborate on how branches and forks are displayed on the commit graph, are they any different?

  2. Fork - [General] - Are merge bases here referred to fork -> upstream repo merges eg: saphal/feat -> project/dev and inter repo branch merges eg: project/feat1 -> project/dev

  3. Merge Base - [General]

  4. Long Lived Branch - [General]

  5. CommitStack - [General] - Clarifying how commit stacks change when

    1. An intermediate branch is merged into a long lived branch
    2. Checking out to another branch from an intermediate branch
    3. Merging the commit stack into a long lived branch, does that mean merging the topmost commit
    4. Is it possible to merge the commit stack from between
    5. Where does squashing come into the picture in the context of a commit stack (Compare and contrast with regular git as well as in the stack attack context)?
  6. Branch Names - [General] - Specifically branch names in a commit stack, are they any different than commit hash

  7. Remotes - [General]

  8. Associations between Pull Request and Commit - [General] - Alternate ways Pull Request can be referenced, as PR is a Github Term(?)

  9. Diffs - [General] - What does comparing diffs in the context of stack attack as well as git. Is it the same as the git definition?

  10. Create and Update Branches for Commits - [General] - What does it mean to update and create branches for commits, aren't branches simply a way to reference commit hashes?

  11. HEAD Commit - [General] - HEAD commit in a stack, and HEAD commit in general. Isn't head just where the application is at in the git version control chart. I think that's the general git definition(?)

  12. Parent Commit - [General] - Parent and Child Commits are defined with respect to time? Or how do we define the parent/s or child/ren of a commit?

  13. Child Commit - [General]

  14. Attaching branches to commits - [General] - When we create branches for our commits, (and push the branch, and open the PR), there would be a refs/remote/branchName pointing to the same commit which would track the local branch. Effectively making it two branch refs to the same commit, one being the original branch and the second one tracking the original

  15. Commit Tree - [General] - How is it different from the notion of having a graph. In case of branches, wouldn't this simply be a n-ary tree/DAGs? The identity of a tree is it's root, so what needs to be the root in our commit trees

saphal1998 avatar Jul 22 '20 11:07 saphal1998

@taneliang I'll keep adding more terms as I come across them, and cross reference this.

You can replace the prompt text with the actual explanation. Or sketches or something.

saphal1998 avatar Jul 22 '20 11:07 saphal1998