Low-Level Commands (Plumbing) Flashcards
Git contains a full library of low-level commands that are generally more stable than porcelain-level commands, since these commands are primarily for scripted use. This deck will help you internalize these low-level commands so you never have to look them up again.
What does the following Git command do?
git-apply(1)
Apply a patch to files and/or to the index.
What does the following Git command do?
git-checkout-index(1)
Copy files from the index to the working tree.
What does the following Git command do?
git-commit-tree(1)
Create a new commit object.
What does the following Git command do?
git-hash-object(1)
Compute object ID and optionally creates a blob from a file.
What does the following Git command do?
git-index-pack(1)
Build pack index file for an existing packed archive.
What does the following Git command do?
git-merge-file(1)
Run a three-way file merge.
What does the following Git command do?
git-merge-index(1)
Run a merge for files needing merging.
What does the following Git command do?
git-mktag(1)
Creates a tag object.
What does the following Git command do?
git-mktree(1)
Build a tree-object from ls-tree formatted text.
What does the following Git command do?
git-pack-objects(1)
Create a packed archive of objects.
What does the following Git command do?
git-prune-packed(1)
Remove extra objects that are already in pack files.
What does the following Git command do?
git-read-tree(1)
Reads tree information into the index.
What does the following Git command do?
git-symbolic-ref(1)
Read and modify symbolic refs.
What does the following Git command do?
git-unpack-objects(1)
Unpack objects from a packed archive.
What does the following Git command do?
git-update-index(1)
Register file contents in the working tree to the index.
What does the following Git command do?
git-update-ref(1)
Update the object name stored in a ref safely.
What does the following Git command do?
git-write-tree(1)
Create a tree object from the current index.
What does the following Git command do?
git-cat-file(1)
Provide content or type and size information for repository objects.
What does the following Git command do?
git-diff-files(1)
Compares files in the working tree and the index.
What does the following Git command do?
git-diff-index(1)
Compares content and mode of blobs between the index and repository.
Name the Git command that does the following:
Apply a patch to files and/or to the index.
git-apply(1)
Name the Git command that does the following:
Copy files from the index to the working tree.
git-checkout-index(1)
Name the Git command that does the following:
Create a new commit object.
git-commit-tree(1)
Name the Git command that does the following:
Compute object ID and optionally creates a blob from a file.
git-hash-object(1)
Name the Git command that does the following:
Build pack index file for an existing packed archive.
git-index-pack(1)
Name the Git command that does the following:
Run a three-way file merge.
git-merge-file(1)
Name the Git command that does the following:
Run a merge for files needing merging.
git-merge-index(1)
Name the Git command that does the following:
Creates a tag object.
git-mktag(1)
Name the Git command that does the following:
Build a tree-object from ls-tree formatted text.
git-mktree(1)
Name the Git command that does the following:
Create a packed archive of objects.
git-pack-objects(1)
Name the Git command that does the following:
Remove extra objects that are already in pack files.
git-prune-packed(1)
Name the Git command that does the following:
Reads tree information into the index.
git-read-tree(1)
Name the Git command that does the following:
Read and modify symbolic refs.
git-symbolic-ref(1)
Name the Git command that does the following:
Unpack objects from a packed archive.
git-unpack-objects(1)
Name the Git command that does the following:
Register file contents in the working tree to the index.
git-update-index(1)
Name the Git command that does the following:
Update the object name stored in a ref safely.
git-update-ref(1)
Name the Git command that does the following:
Create a tree object from the current index.
git-write-tree(1)
Name the Git command that does the following:
Provide content or type and size information for repository objects.
git-cat-file(1)
Name the Git command that does the following:
Compares files in the working tree and the index.
git-diff-files(1)
Name the Git command that does the following:
Compares content and mode of blobs between the index and repository.
git-diff-index(1)
What does the following Git command do?
git-diff-tree(1)
Compares the content and mode of blobs found via two tree objects.
What does the following Git command do?
git-for-each-ref(1)
Output information on each ref.
What does the following Git command do?
git-ls-files(1)
Show information about files in the index and the working tree.
What does the following Git command do?
git-ls-remote(1)
List references in a remote repository.
What does the following Git command do?
git-ls-tree(1)
List the contents of a tree object.