Skip to content

Instantly share code, notes, and snippets.

@davidread
Created February 6, 2019 15:17
Show Gist options
  • Save davidread/98a883005586db33b325c1bcb69f5be7 to your computer and use it in GitHub Desktop.
Save davidread/98a883005586db33b325c1bcb69f5be7 to your computer and use it in GitHub Desktop.
Git concepts & language
"working tree" = "repository"
"untracked files" - diff
"changes"
---- "add" --->
<--- "rm" ----
"Staged" = "Changes to be committed" = "index"
Similar: "indexed" "tracked files" "snapshot"
---- "commit" --->
<--- "reset"/"checkout" ---
"Commit" = "revision" = "object"
"local refs"
---- "push" --->
<--- "fetch" ----
"remote refs"
"remote repository"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment