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. (114 cards)

1
Q

What does the following Git command do?

git-apply(1)

A

Apply a patch to files and/or to the index.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the following Git command do?

git-checkout-index(1)

A

Copy files from the index to the working tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the following Git command do?

git-commit-tree(1)

A

Create a new commit object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the following Git command do?

git-hash-object(1)

A

Compute object ID and optionally creates a blob from a file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the following Git command do?

git-index-pack(1)

A

Build pack index file for an existing packed archive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the following Git command do?

git-merge-file(1)

A

Run a three-way file merge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the following Git command do?

git-merge-index(1)

A

Run a merge for files needing merging.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the following Git command do?

git-mktag(1)

A

Creates a tag object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the following Git command do?

git-mktree(1)

A

Build a tree-object from ls-tree formatted text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the following Git command do?

git-pack-objects(1)

A

Create a packed archive of objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the following Git command do?

git-prune-packed(1)

A

Remove extra objects that are already in pack files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the following Git command do?

git-read-tree(1)

A

Reads tree information into the index.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the following Git command do?

git-symbolic-ref(1)

A

Read and modify symbolic refs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the following Git command do?

git-unpack-objects(1)

A

Unpack objects from a packed archive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the following Git command do?

git-update-index(1)

A

Register file contents in the working tree to the index.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the following Git command do?

git-update-ref(1)

A

Update the object name stored in a ref safely.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What does the following Git command do?

git-write-tree(1)

A

Create a tree object from the current index.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does the following Git command do?

git-cat-file(1)

A

Provide content or type and size information for repository objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What does the following Git command do?

git-diff-files(1)

A

Compares files in the working tree and the index.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What does the following Git command do?

git-diff-index(1)

A

Compares content and mode of blobs between the index and repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Name the Git command that does the following:

Apply a patch to files and/or to the index.

A

git-apply(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Name the Git command that does the following:

Copy files from the index to the working tree.

A

git-checkout-index(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Name the Git command that does the following:

Create a new commit object.

A

git-commit-tree(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Name the Git command that does the following:

Compute object ID and optionally creates a blob from a file.

A

git-hash-object(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
# Name the Git command that does the following: Build pack index file for an existing packed archive.
git-index-pack(1)
26
# Name the Git command that does the following: Run a three-way file merge.
git-merge-file(1)
27
# Name the Git command that does the following: Run a merge for files needing merging.
git-merge-index(1)
28
# Name the Git command that does the following: Creates a tag object.
git-mktag(1)
29
# Name the Git command that does the following: Build a tree-object from ls-tree formatted text.
git-mktree(1)
30
# Name the Git command that does the following: Create a packed archive of objects.
git-pack-objects(1)
31
# Name the Git command that does the following: Remove extra objects that are already in pack files.
git-prune-packed(1)
32
# Name the Git command that does the following: Reads tree information into the index.
git-read-tree(1)
33
# Name the Git command that does the following: Read and modify symbolic refs.
git-symbolic-ref(1)
34
# Name the Git command that does the following: Unpack objects from a packed archive.
git-unpack-objects(1)
35
# Name the Git command that does the following: Register file contents in the working tree to the index.
git-update-index(1)
36
# Name the Git command that does the following: Update the object name stored in a ref safely.
git-update-ref(1)
37
# Name the Git command that does the following: Create a tree object from the current index.
git-write-tree(1)
38
# Name the Git command that does the following: Provide content or type and size information for repository objects.
git-cat-file(1)
39
# Name the Git command that does the following: Compares files in the working tree and the index.
git-diff-files(1)
40
# Name the Git command that does the following: Compares content and mode of blobs between the index and repository.
git-diff-index(1)
41
# What does the following Git command do? git-diff-tree(1)
Compares the content and mode of blobs found via two tree objects.
42
# What does the following Git command do? git-for-each-ref(1)
Output information on each ref.
43
# What does the following Git command do? git-ls-files(1)
Show information about files in the index and the working tree.
44
# What does the following Git command do? git-ls-remote(1)
List references in a remote repository.
45
# What does the following Git command do? git-ls-tree(1)
List the contents of a tree object.
46
# What does the following Git command do? git-merge-base(1)
Find as good common ancestors as possible for a merge.
47
# What does the following Git command do? git-name-rev(1)
Find symbolic names for given revs.
48
# What does the following Git command do? git-pack-redundant(1)
Find redundant pack files.
49
# What does the following Git command do? git-rev-list(1)
Lists commit objects in reverse chronological order.
50
# What does the following Git command do? git-show-index(1)
Show packed archive index.
51
# What does the following Git command do? git-show-ref(1)
List references in a local repository.
52
# What does the following Git command do? git-tar-tree(1)
(deprecated) Create a tar archive of the files in the named tree object.
53
# What does the following Git command do? git-unpack-file(1)
Creates a temporary file with a blob’s contents.
54
# What does the following Git command do? git-var(1)
Show a git logical variable.
55
# What does the following Git command do? git-verify-pack(1)
Validate packed git archive files.
56
# What does the following Git command do? git-daemon(1)
A really simple server for git repositories.
57
# What does the following Git command do? git-fetch-pack(1)
Receive missing objects from another repository.
58
# What does the following Git command do? git-http-backend(1)
Server side implementation of Git over HTTP.
59
# What does the following Git command do? git-send-pack(1)
Push objects over git protocol to another repository.
60
# What does the following Git command do? git-update-server-info(1)
Update auxiliary info file to help dumb servers.
61
# Name the Git command that does the following: Compares the content and mode of blobs found via two tree objects.
git-diff-tree(1)
62
# Name the Git command that does the following: Output information on each ref.
git-for-each-ref(1)
63
# Name the Git command that does the following: Show information about files in the index and the working tree.
git-ls-files(1)
64
# Name the Git command that does the following: List references in a remote repository.
git-ls-remote(1)
65
# Name the Git command that does the following: List the contents of a tree object.
git-ls-tree(1)
66
# Name the Git command that does the following: Find as good common ancestors as possible for a merge.
git-merge-base(1)
67
# Name the Git command that does the following: Find symbolic names for given revs.
git-name-rev(1)
68
# Name the Git command that does the following: Find redundant pack files.
git-pack-redundant(1)
69
# Name the Git command that does the following: Lists commit objects in reverse chronological order.
git-rev-list(1)
70
# Name the Git command that does the following: Show packed archive index.
git-show-index(1)
71
# Name the Git command that does the following: List references in a local repository.
git-show-ref(1)
72
# Name the Git command that does the following: (deprecated) Create a tar archive of the files in the named tree object.
git-tar-tree(1)
73
# Name the Git command that does the following: Creates a temporary file with a blob’s contents.
git-unpack-file(1)
74
# Name the Git command that does the following: Show a git logical variable.
git-var(1)
75
# Name the Git command that does the following: Validate packed git archive files.
git-verify-pack(1)
76
# Name the Git command that does the following: A really simple server for git repositories.
git-daemon(1)
77
# Name the Git command that does the following: Receive missing objects from another repository.
git-fetch-pack(1)
78
# Name the Git command that does the following: Server side implementation of Git over HTTP.
git-http-backend(1)
79
# Name the Git command that does the following: Push objects over git protocol to another repository.
git-send-pack(1)
80
# Name the Git command that does the following: Update auxiliary info file to help dumb servers.
git-update-server-info(1)
81
# What does the following Git command do? git-http-fetch(1)
Download from a remote git repository via HTTP.
82
# What does the following Git command do? git-http-push(1)
Push objects over HTTP/DAV to another repository.
83
# What does the following Git command do? git-parse-remote(1)
Routines to help parsing remote repository access parameters.
84
# What does the following Git command do? git-receive-pack(1)
Receive what is pushed into the repository.
85
# What does the following Git command do? git-shell(1)
Restricted login shell for Git-only SSH access.
86
# What does the following Git command do? git-upload-archive(1)
Send archive back to git-archive.
87
# What does the following Git command do? git-upload-pack(1)
Send objects packed back to git-fetch-pack.
88
# What does the following Git command do? git-check-attr(1)
Display gitattributes information.
89
# What does the following Git command do? git-check-ref-format(1)
Ensures that a reference name is well formed.
90
# What does the following Git command do? git-fmt-merge-msg(1)
Produce a merge commit message.
91
# What does the following Git command do? git-mailinfo(1)
Extracts patch and authorship from a single e-mail message.
92
# What does the following Git command do? git-mailsplit(1)
Simple UNIX mbox splitter program.
93
# What does the following Git command do? git-merge-one-file(1)
The standard helper program to use with git-merge-index.
94
# What does the following Git command do? git-patch-id(1)
Compute unique ID for a patch.
95
# What does the following Git command do? git-peek-remote(1)
(deprecated) List the references in a remote repository.
96
# What does the following Git command do? git-sh-setup(1)
Common git shell script setup code.
97
# What does the following Git command do? git-stripspace(1)
Filter out empty lines.
98
# Name the Git command that does the following: Download from a remote git repository via HTTP.
git-http-fetch(1)
99
# Name the Git command that does the following: Push objects over HTTP/DAV to another repository.
git-http-push(1)
100
# Name the Git command that does the following: Routines to help parsing remote repository access parameters.
git-parse-remote(1)
101
# Name the Git command that does the following: Receive what is pushed into the repository.
git-receive-pack(1)
102
# Name the Git command that does the following: Restricted login shell for Git-only SSH access.
git-shell(1)
103
# Name the Git command that does the following: Send archive back to git-archive.
git-upload-archive(1)
104
# Name the Git command that does the following: Send objects packed back to git-fetch-pack.
git-upload-pack(1)
105
# Name the Git command that does the following: Display gitattributes information.
git-check-attr(1)
106
# Name the Git command that does the following: Ensures that a reference name is well formed.
git-check-ref-format(1)
107
# Name the Git command that does the following: Produce a merge commit message.
git-fmt-merge-msg(1)
108
# Name the Git command that does the following: Extracts patch and authorship from a single e-mail message.
git-mailinfo(1)
109
# Name the Git command that does the following: Simple UNIX mbox splitter program.
git-mailsplit(1)
110
# Name the Git command that does the following: The standard helper program to use with git-merge-index.
git-merge-one-file(1)
111
# Name the Git command that does the following: Compute unique ID for a patch.
git-patch-id(1)
112
# Name the Git command that does the following: (deprecated) List the references in a remote repository.
git-peek-remote(1)
113
# Name the Git command that does the following: Common git shell script setup code.
git-sh-setup(1)
114
# Name the Git command that does the following: Filter out empty lines.
git-stripspace(1)