What does tree-ish mean in Git?

后端 未结 6 1614
深忆病人
深忆病人 2020-11-27 09:44

I\'m very confused about how to use git archive.

I have a git repository with folder Foo, Bar and Baz at the top level. I n

6条回答
  •  無奈伤痛
    2020-11-27 10:03

    I am a newbie to source control and git. This is what I know. A tree is the structure of files in a repository. Its similar to a directory in a file system.See - Which git tool generated this tree view?

    Tree-ish means like a tree. It references a part or commit of a tree. You can reference a commit using any one of these: full or part of the SHA-1 hash of a commit, HEAD pointer, branch reference, tag reference. Another method uses any of the mentioned methods along with ancestors or parents of a commit. Ancestors example:

提交回复
热议问题