High-Level (Porcelain) Commands Flashcards

Memorize high-level Git commands so you'll never have to look them up again. (150 cards)

1
Q

What does the following Git command do?

git-add(1)

A

Add file contents 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-am(1)

A

Apply a series of patches from a mailbox.

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-archive(1)

A

Create an archive of files from a named tree.

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-bisect(1)

A

Find by binary search the change that introduced a bug.

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-branch(1)

A

List, create, or delete branches.

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-bundle(1)

A

Move objects and refs by archive.

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-checkout(1)

A

Checkout a branch or paths to the working tree.

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-cherry-pick(1)

A

Apply the changes introduced by some existing commits.

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-citool(1)

A

Graphical alternative to git-commit.

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-clean(1)

A

Remove untracked files from the working tree.

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-clone(1)

A

Clone a repository into a new directory.

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-commit(1)

A

Record changes to the repository.

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-describe(1)

A

Show the most recent tag that is reachable from a commit.

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-diff(1)

A

Show changes between commits, commit and working tree, etc.

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-fetch(1)

A

Download objects and refs from another repository.

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-format-patch(1)

A

Prepare patches for e-mail submission.

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-gc(1)

A

Cleanup unnecessary files and optimize the local repository.

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-grep(1)

A

Print lines matching a pattern.

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-gui(1)

A

A portable graphical interface to Git.

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-init(1)

A

Create an empty git repository or reinitialize an existing one.

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:

Add file contents to the index.

A

git-add(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:

Apply a series of patches from a mailbox.

A

git-am(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 an archive of files from a named tree.

A

git-archive(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:

Find by binary search the change that introduced a bug.

A

git-bisect(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: List, create, or delete branches.
git-branch(1)
26
# Name the Git command that does the following: Move objects and refs by archive.
git-bundle(1)
27
# Name the Git command that does the following: Checkout a branch or paths to the working tree.
git-checkout(1)
28
# Name the Git command that does the following: Apply the changes introduced by some existing commits.
git-cherry-pick(1)
29
# Name the Git command that does the following: Graphical alternative to git-commit.
git-citool(1)
30
# Name the Git command that does the following: Remove untracked files from the working tree.
git-clean(1)
31
# Name the Git command that does the following: Clone a repository into a new directory.
git-clone(1)
32
# Name the Git command that does the following: Record changes to the repository.
git-commit(1)
33
# Name the Git command that does the following: Show the most recent tag that is reachable from a commit.
git-describe(1)
34
# Name the Git command that does the following: Show changes between commits, commit and working tree, etc.
git-diff(1)
35
# Name the Git command that does the following: Download objects and refs from another repository.
git-fetch(1)
36
# Name the Git command that does the following: Prepare patches for e-mail submission.
git-format-patch(1)
37
# Name the Git command that does the following: Cleanup unnecessary files and optimize the local repository.
git-gc(1)
38
# Name the Git command that does the following: Print lines matching a pattern.
git-grep(1)
39
# Name the Git command that does the following: A portable graphical interface to Git.
git-gui(1)
40
# Name the Git command that does the following: Create an empty git repository or reinitialize an existing one.
git-init(1)
41
# What does the following Git command do? git-log(1)
Show commit logs.
42
# What does the following Git command do? git-merge(1)
Join two or more development histories together.
43
# What does the following Git command do? git-mv(1)
Move or rename a file, a directory, or a symlink.
44
# What does the following Git command do? git-notes(1)
Add or inspect object notes.
45
# What does the following Git command do? git-pull(1)
Fetch from and merge with another repository or a local branch.
46
# What does the following Git command do? git-push(1)
Update remote refs along with associated objects.
47
# What does the following Git command do? git-rebase(1)
Forward-port local commits to the updated upstream head.
48
# What does the following Git command do? git-reset(1)
Reset current HEAD to the specified state.
49
# What does the following Git command do? git-revert(1)
Revert some existing commits.
50
# What does the following Git command do? git-rm(1)
Remove files from the working tree and from the index.
51
# What does the following Git command do? git-shortlog(1)
Summarize git log output.
52
# What does the following Git command do? git-show(1)
Show various types of objects.
53
# What does the following Git command do? git-stash(1)
Stash the changes in a dirty working directory away.
54
# What does the following Git command do? git-status(1)
Show the working tree status.
55
# What does the following Git command do? git-submodule(1)
Initialize, update or inspect submodules.
56
# What does the following Git command do? git-tag(1)
Create, list, delete or verify a tag object signed with GPG.
57
# What does the following Git command do? gitk(1)
The git repository browser.
58
# What does the following Git command do? git-config(1)
Get and set repository or global options.
59
# What does the following Git command do? git-fast-export(1)
Git data exporter.
60
# What does the following Git command do? git-fast-import(1)
Backend for fast Git data importers.
61
# Name the Git command that does the following: Show commit logs.
git-log(1)
62
# Name the Git command that does the following: Join two or more development histories together.
git-merge(1)
63
# Name the Git command that does the following: Move or rename a file, a directory, or a symlink.
git-mv(1)
64
# Name the Git command that does the following: Add or inspect object notes.
git-notes(1)
65
# Name the Git command that does the following: Fetch from and merge with another repository or a local branch.
git-pull(1)
66
# Name the Git command that does the following: Update remote refs along with associated objects.
git-push(1)
67
# Name the Git command that does the following: Forward-port local commits to the updated upstream head.
git-rebase(1)
68
# Name the Git command that does the following: Reset current HEAD to the specified state.
git-reset(1)
69
# Name the Git command that does the following: Revert some existing commits.
git-revert(1)
70
# Name the Git command that does the following: Remove files from the working tree and from the index.
git-rm(1)
71
# Name the Git command that does the following: Summarize git log output.
git-shortlog(1)
72
# Name the Git command that does the following: Show various types of objects.
git-show(1)
73
# Name the Git command that does the following: Stash the changes in a dirty working directory away.
git-stash(1)
74
# Name the Git command that does the following: Show the working tree status.
git-status(1)
75
# Name the Git command that does the following: Initialize, update or inspect submodules.
git-submodule(1)
76
# Name the Git command that does the following: Create, list, delete or verify a tag object signed with GPG.
git-tag(1)
77
# Name the Git command that does the following: The git repository browser.
gitk(1)
78
# Name the Git command that does the following: Get and set repository or global options.
git-config(1)
79
# Name the Git command that does the following: Git data exporter.
git-fast-export(1)
80
# Name the Git command that does the following: Backend for fast Git data importers.
git-fast-import(1)
81
# What does the following Git command do? git-filter-branch(1)
Rewrite branches.
82
# What does the following Git command do? git-lost-found(1)
(deprecated) Recover lost refs that luckily have not yet been pruned.
83
# What does the following Git command do? git-mergetool(1)
Run merge conflict resolution tools to resolve merge conflicts.
84
# What does the following Git command do? git-pack-refs(1)
Pack heads and tags for efficient repository access.
85
# What does the following Git command do? git-prune(1)
Prune all unreachable objects from the object database.
86
# What does the following Git command do? git-reflog(1)
Manage reflog information.
87
# What does the following Git command do? git-relink(1)
Hardlink common objects in local repositories.
88
# What does the following Git command do? git-remote(1)
manage set of tracked repositories.
89
# What does the following Git command do? git-repack(1)
Pack unpacked objects in a repository.
90
# What does the following Git command do? git-replace(1)
Create, list, delete refs to replace objects.
91
# What does the following Git command do? git-repo-config(1)
(deprecated) Get and set repository or global options.
92
# What does the following Git command do? git-annotate(1)
Annotate file lines with commit information.
93
# What does the following Git command do? git-blame(1)
Show what revision and author last modified each line of a file.
94
# What does the following Git command do? git-cherry(1)
Find commits not merged upstream.
95
# What does the following Git command do? git-count-objects(1)
Count unpacked number of objects and their disk consumption.
96
# What does the following Git command do? git-difftool(1)
Show changes using common diff tools.
97
# What does the following Git command do? git-fsck(1)
Verifies the connectivity and validity of the objects in the database.
98
# What does the following Git command do? git-get-tar-commit-id(1)
Extract commit ID from an archive created using git-archive.
99
# What does the following Git command do? git-help(1)
display help information about git.
100
# What does the following Git command do? git-instaweb(1)
Instantly browse your working repository in gitweb.
101
# Name the Git command that does the following: Rewrite branches.
git-filter-branch(1)
102
# Name the Git command that does the following: (deprecated) Recover lost refs that luckily have not yet been pruned.
git-lost-found(1)
103
# Name the Git command that does the following: Run merge conflict resolution tools to resolve merge conflicts.
git-mergetool(1)
104
# Name the Git command that does the following: Pack heads and tags for efficient repository access.
git-pack-refs(1)
105
# Name the Git command that does the following: Prune all unreachable objects from the object database.
git-prune(1)
106
# Name the Git command that does the following: Manage reflog information.
git-reflog(1)
107
# Name the Git command that does the following: Hardlink common objects in local repositories.
git-relink(1)
108
# Name the Git command that does the following: manage set of tracked repositories.
git-remote(1)
109
# Name the Git command that does the following: Pack unpacked objects in a repository.
git-repack(1)
110
# Name the Git command that does the following: Create, list, delete refs to replace objects.
git-replace(1)
111
# Name the Git command that does the following: (deprecated) Get and set repository or global options.
git-repo-config(1)
112
# Name the Git command that does the following: Annotate file lines with commit information.
git-annotate(1)
113
# Name the Git command that does the following: Show what revision and author last modified each line of a file.
git-blame(1)
114
# Name the Git command that does the following: Find commits not merged upstream.
git-cherry(1)
115
# Name the Git command that does the following: Count unpacked number of objects and their disk consumption.
git-count-objects(1)
116
# Name the Git command that does the following: Show changes using common diff tools.
git-difftool(1)
117
# Name the Git command that does the following: Verifies the connectivity and validity of the objects in the database.
git-fsck(1)
118
# Name the Git command that does the following: Extract commit ID from an archive created using git-archive.
git-get-tar-commit-id(1)
119
# Name the Git command that does the following: display help information about git.
git-help(1)
120
# Name the Git command that does the following: Instantly browse your working repository in gitweb.
git-instaweb(1)
121
# What does the following Git command do? git-merge-tree(1)
Show three-way merge without touching index.
122
# What does the following Git command do? git-rerere(1)
Reuse recorded resolution of conflicted merges.
123
# What does the following Git command do? git-rev-parse(1)
Pick out and massage parameters.
124
# What does the following Git command do? git-show-branch(1)
Show branches and their commits.
125
# What does the following Git command do? git-verify-tag(1)
Check the GPG signature of tags.
126
# What does the following Git command do? git-whatchanged(1)
Show logs with difference each commit introduces.
127
# What does the following Git command do? git-archimport(1)
Import an Arch repository into git.
128
# What does the following Git command do? git-cvsexportcommit(1)
Export a single commit to a CVS checkout.
129
# What does the following Git command do? git-cvsimport(1)
Salvage your data out of another SCM people love to hate.
130
# What does the following Git command do? git-cvsserver(1)
A CVS server emulator for git.
131
# What does the following Git command do? git-imap-send(1)
Send a collection of patches from stdin to an IMAP folder.
132
# What does the following Git command do? git-quiltimport(1)
Applies a quilt patchset onto the current branch.
133
# What does the following Git command do? git-request-pull(1)
Generates a summary of pending changes.
134
# What does the following Git command do? git-send-email(1)
Send a collection of patches as emails.
135
# What does the following Git command do? git-svn(1)
Bidirectional operation between a Subversion repository and git.
136
# Name the Git command that does the following: Show three-way merge without touching index.
git-merge-tree(1)
137
# Name the Git command that does the following: Reuse recorded resolution of conflicted merges.
git-rerere(1)
138
# Name the Git command that does the following: Pick out and massage parameters.
git-rev-parse(1)
139
# Name the Git command that does the following: Show branches and their commits.
git-show-branch(1)
140
# Name the Git command that does the following: Check the GPG signature of tags.
git-verify-tag(1)
141
# Name the Git command that does the following: Show logs with difference each commit introduces.
git-whatchanged(1)
142
# Name the Git command that does the following: Import an Arch repository into git.
git-archimport(1)
143
# Name the Git command that does the following: Export a single commit to a CVS checkout.
git-cvsexportcommit(1)
144
# Name the Git command that does the following: Salvage your data out of another SCM people love to hate.
git-cvsimport(1)
145
# Name the Git command that does the following: A CVS server emulator for git.
git-cvsserver(1)
146
# Name the Git command that does the following: Send a collection of patches from stdin to an IMAP folder.
git-imap-send(1)
147
# Name the Git command that does the following: Applies a quilt patchset onto the current branch.
git-quiltimport(1)
148
# Name the Git command that does the following: Generates a summary of pending changes.
git-request-pull(1)
149
# Name the Git command that does the following: Send a collection of patches as emails.
git-send-email(1)
150
# Name the Git command that does the following: Bidirectional operation between a Subversion repository and git.
git-svn(1)