senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Drew DeVault (sir@cmpwn.com)'s status on Tuesday, 28-Jul-2020 02:21:54 JST Drew DeVault Drew DeVault

    An object can be a blob, tree, commit, or tag. An object is identified by its ID, which is a SHA.

    A blob is just some arbitrary data. Files are represented as blobs.

    Trees are a list of blob IDs and other tree IDs, and their names. Directories are represented as trees.

    A commit has a tree ID, an author, a date, a parent commit ID (or IDs, for a merge commit), and a commit message.

    A reference is just a commit ID. Branches are a kind of reference. The only information which is stored to represent "master" is the ID of the latest commit. To get the commit log, you just follow the parent ID in each commit. To get the contents, you look at the tree ID of that commit. To update master, create a new commit and write its ID to .git/refs/heads/master (which is a plaintext file).

    A tag has a commit ID, an author, and a message. It just calls out a specific commit as special, like a release number, and adds a message, such as that version's changelog.

    All git commands are just a means of manipulating what is ultimately a very simple data store. If you want to know more about how a specific command works and how it relates to this data store, let me know.

    In conversation Tuesday, 28-Jul-2020 02:21:54 JST from cmpwn.com permalink
    • らりお・ザ・何らかの🈗然㊌ソムリエ repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.