Index
A
- --allow-empty option
- used, for creating empty commit / How to do it...
- --auto option / How to do it...
- add -p/--patch option
- about / How to do it...
- alias, Git
- about / Git aliases, How to do it..., How it works...
- aliases
- examples / More aliases, How to do it...
- annotated tag
- archives
- creating, from tree / Creating archives from a tree, How to do it..., There's more…
- attributes
- setting up, for exporting archive / Attributes to export an archive, There's more…
- autocompletion feature
- enabling / Autocompletion, How it works…
- for Linux users / Linux
- for mac users / Mac
- on Windows / Windows
- autocorrect, Git configuration
- about / Autocorrect, There's more...
- automatic garbage collection
- switching off / Turning off automatic garbage collection, How to do it...
- autosquash feature, Git / Auto-squashing commits
- auto squashing
- commits / Auto-squashing commits , How to do it...
B
- bare repository
- about / Back up your repositories as mirror repositories
- versus mirror repository / How to do it...
- bash prompt
- with status information / Bash prompt with status information, How it works…, See also
- binaries
- storing, to another location / Storing binaries elsewhere, How to do it..., How it works…
- binary files
- metadata, diffing / Metadata diff of binary files, How to do it..., How it works…
- binary handlers
- bisect command / Debugging with git bisect
- blame command
- using / Using the blame command, How to do it...
- about / Using the blame command, There's more…
- blob object
- about / The blob object
- writing, to database / Writing a blob object to the database, How it works…
- branch.<name>.rebase configuration / Rebase and merge setup
- branch.autosetuprebase configuration / Rebase and merge setup
- branch description
- using, in commit / Using a branch description in the commit message, How to do it...
- branches
- local branches, managing / Managing your local branches, How to do it…, How it works…, There's more...
- remote branches / Branches with remotes, Getting ready, There's more...
- merging, with merge commit / Forcing a merge commit, How to do it..., There's more…
- merging, git rerere used / Using git rerere to merge known conflicts, How to do it…, There's more...
- differentiating / The difference between branches, How to do it…
- patches, creating from / Creating patches from branches, How to do it..., There's more…
- branch object
- about / The branch
- bundle command / How it works…
C
- --cached option
- about / How it works…
- -C option
- about / There's more…
- cat-file command / How it works…
- about / The commit object
- using / How it works…
- cat cat-me.txt command / The blob object
- changed files
- list, obtaining of / Getting a list of the changed files, How it works...
- clean command
- about / How to do it...
- clean filter / How to do it...
- clone command / How to do it…
- commit
- tagging, in repository / Tagging commits in the repository, Getting ready, How to do it..., There's more...
- branch description, using in / Using a branch description in the commit message, How to do it...
- push, preventing / Preventing the push of specific commits, How to do it..., There's more...
- undoing / Undo – remove a commit completely, How to do it..., How it works…
- resetting / Undo – remove a commit and retain the changes to files, How to do it...
- undoing, while retaining changes in staging area / Undo – remove a commit and retain the changes in the staging area, How to do it..., How it works…
- redo / Redo – recreate the latest commit with new changes, How to do it...
- changes, reverting / Revert – undo the changes introduced by a commit, How to do it..., How it works...
- commit message
- external information, using / Using external information in the commit message, How to do it...
- commit messages
- grepping / Grepping the commit messages, How to do it...
- commit message template
- commit object
- about / The commit object
- creating, stages / How to do it…, How it works…
- writing, to database / Writing a commit object to the database, How it works…
- commits
- finding, in history / Finding commits in history, There's more...
- rebasing, to another branch / Rebasing commits to another branch, How to do it…, How it works
- squashing, interactive rebase used / Squashing commits using an interactive rebase, How to do it..., There's more…
- author changing, rebase used / Changing the author of commits using a rebase, How to do it..., How it works...
- auto squashing / Auto-squashing commits , How to do it...
- commit template
- setting up / Setting up and using a commit template, How to do it...
- using / Getting ready, How to do it...
- configuration, Git
- querying / Querying the existing configuration, How it works..., There's more...
- rebase and merge setup / Getting ready, Rebase and merge setup
- object expiry / Expiry of objects
- autocorrect / Autocorrect, There's more...
- configuration, GLOBAL layer / Configuration targets, How to do it..., There's more...
- configuration, LOCAL layer / Configuration targets, How to do it..., There's more...
- configuration, SYSTEM layer / Configuration targets, How to do it...
- current variable / Getting ready
D
- --diff-filter=DA option / How to do it…
- DAG
- about / Viewing the DAG
- viewing / How to do it..., How it works...
- dangling commit / How it works…
- database
- blob object, writing to / Writing a blob object to the database, How it works…
- tree object, writing to / Writing a tree object to the database, How it works…
- commit object, writing to / Writing a commit object to the database, How it works…
- data model, Git / Introduction
- descriptioInCommit branch
- about / Getting ready
- diff-tree command
- using / How to do it...
- diff command
- about / There's more…
E
- env-filter
- about / There's more…
- exif-diff filter / How to do it...
- exiftool diff filter
- setting up / How to do it...
- external information
- using, in commit message / Using external information in the commit message, How to do it...
F
- --format=<format> option / There's more…
- file
- sensitive data, removing from / Rewriting history – changing a single file, How it works…
- adding / Interactive add, How to do it..., There's more…
- file attributes
- checking / Checking the attributes of a file, How to do it...
- file information
- displaying / Displaying the file information, How to do it..., There's more…
- files
- ignoring / Ignoring files, How to do it..., There's more…, See also…
- filter-branch command / Introduction
- fixed issues
- extracting / Extracting fixed issues, How to do it...
- fsck command
- used, for searching lost changes / Finding lost changes with git fsck, Getting ready, How to do it..., How it works...
- about / Finding lost changes with git fsck
G
- --global
- about / How to do it...
- .gitignore
- about / Ignoring files
- garbage collection
- manually running / Running garbage collection manually, How to do it..., How it works…
- gc.pruneexpire / Expiry of objects
- gc.reflogexpire / Expiry of objects
- gc.reflogexpireunreachable / Expiry of objects
- Gerrit Code Review
- about / How it works…
- Git
- data model / Introduction
- objects / Git's objects, Getting ready
- three stages, for creating commit object / How to do it…, How it works…
- existing configuration, querying / Querying the existing configuration, How it works..., There's more...
- alias / Git aliases, How to do it..., How it works...
- clean filter / How to do it...
- smudge filter / How to do it...
- git-annex handler
- URL / See also
- git-bin handler
- URL / See also
- git-media handler
- URL / See also
- Git actions
- viewing, with git reflog / Viewing past Git actions with git reflog, How to do it..., How it works...
- git add command / How to do it…, Interactive add
- Git aliases
- configuring, with git config / How to do it...
- using / How to do it..., How it works...
- git am command / How it works…, There's more…
- git apply command / There's more…
- git bisect command
- about / Debugging with git bisect
- debugging with / Debugging with git bisect, Getting ready, How to do it..., There's more…
- git branch command
- about / There's more...
- Git bundle
- using / Using a Git bundle, How to do it…, There's more…
- git bundle command / Creating Git bundles
- Git bundles
- creating / Creating Git bundles, How to do it...
- git cat-file -p command / How it works...
- git command / Sending patches
- git commit --amend --reset-author / How to do it...
- git config
- used, for configuring Git aliases / How to do it...
- git config command
- about / How it works…
- git config file
- about / How it works…
- git config rebase.autosquash true / How to do it...
- git describe command / How to do it...
- git diff command
- about / How it works...
- git fetch command
- about / There's more...
- git filter-branch command
- about / How it works…
- env-filter / There's more…
- tree-filter / There's more…
- msg-filter / There's more…
- subdirectory-filter / There's more…
- git format-patch command / There's more…
- git gc command / Running garbage collection manually, How it works…
- Git GUI
- interactive add, using with / Interactive add with Git GUI, How to do it...
- Gitk
- history, viewing with / Viewing history with Gitk, How it works...
- git log command / Viewing the DAG, Searching through history code, Extracting the top contributor
- about / There's more...
- git ls-tree command / There's more...
- git rebase --interactive
- running / How to do it...
- git rebase -continue
- used, for continuing rebase / Continuing a rebase with merge conflicts, How to do it, How it works
- git rebase -i command / How to do it...
- git rerere
- used, for merging branches / Using git rerere to merge known conflicts, How to do it…, There's more...
- about / Using git rerere to merge known conflicts
- Git scripts
- configuring / Configuring and using Git scripts, How to do it...
- using / How to do it...
- git send-email command / Sending patches, There's more…
- git show command / There's more...
- about / There's more...
- git stash
- git stash command / Using git stash, There's more…
- git stash list command / How to do it...
- git status command
- about / There's more…
- git subtree command / See also
- git tag command
- about / How to do it...
- GIT_PS1_DESCRIBE_STYLE variable
- about / How it works…
- GIT_PS1_SHOWDIRTYSTATE variable
- about / How it works…
- GIT_PS1_SHOWSTASHSTATE variable
- about / How it works…
- GIT_PS1_SHOWUNTRACKEDFILES variable
- about / How it works…
- GIT_PS1_SHOWUPSTREAM variable
- about / How it works…
- GLOBAL layer
- configuring / Configuration targets, How to do it..., There's more...
- Gradle / Submodule versus subtree merging
H
- hard reset / Undo – working with a dirty area
- hash-object command
- using / How to do it..., How it works…
- history
- viewing, with Gitk / Viewing history with Gitk, How it works...
- commits, finding in / Finding commits in history, There's more...
- history code
- searching through / Searching through history code, How it works..., There's more...
I
- --ignore-unmatch option
- about / How it works…
- --include-untracked option / There's more…
- --index-filter option / How to do it...
- --index option / There's more…
- -i option
- about / How to do it...
- ignored files
- displaying / Showing and cleaning ignored files, There's more…
- cleaning / Showing and cleaning ignored files, There's more…
- index on master / How it works…
- interactive add
- starting / Interactive add, How to do it..., There's more…
- with Git GUI / Interactive add with Git GUI, How to do it...
- interactive rebase
- used, for squashing commits / Squashing commits using an interactive rebase, How to do it..., There's more…
J
- JGit project
- about / Extracting fixed issues
- JGit repository
- cloning / Getting ready
- splitting / Getting ready, How to do it..., How it works…, There's more…
- jgit repository
- cloning / Getting ready
K
- keyword expansion
- filters, creating with attribute functionality / Keyword expansion with attribute filters, How to do it..., How it works…, There's more…
L
- -l option / How to do it...
- layers
- LOCAL layer / Configuration targets
- SYSTEM layer / Configuration targets
- GLOBAL layer / Configuration targets
- lib_a file
- about / How to do it...
- lib_a_master branch / How to do it...
- lightweight tag
- list
- obtaining, of changed files / Getting a list of the changed files, How it works...
- local branches
- LOCAL layer
- configuring / Configuration targets, How to do it..., There's more...
- lost changes
- searching, with git fsck / Finding lost changes with git fsck, Getting ready, How to do it..., How it works...
- ls-files command
- ls-tree command
- using / How to do it...
M
- -M option
- about / There's more…
- master branch / How to do it...
- about / How to do it...
- Maven / Submodule versus subtree merging
- merge commit
- forcing, for merging branches / Forcing a merge commit, Getting ready, How to do it..., There's more…
- merge commits
- reverting / Reverting a merge, Getting ready, How to do it..., There is more...
- merging, branches
- with merge commit / Forcing a merge commit, Getting ready, How to do it..., There's more…
- with git rerere / Using git rerere to merge known conflicts, How to do it…, There's more...
- mirror repository
- about / Back up your repositories as mirror repositories
- versus bare repository / How to do it...
- msg-filter
- about / There's more…
- Msysgit installation
- about / Windows
- MUA (Mail User Agent) / How it works…
N
- --name-status option / How to do it…
- --no-commit option / How to do it...
- -<n> option / There's more…
- -n, --numbered option / There's more…
- notes
- about / Introduction
- adding / Adding your first Git note, Getting ready, How to do it…, There's more...
- sorting, by category / Separating notes by category, Getting ready, How to do it..., How it works...
- retrieving, from remote repository / Retrieving notes from the remote repository, Getting ready, How to do it..., How it works...
- pushing, to repository / Pushing notes to a remote repository, How to do it..., There's more...
O
- -1 option
- about / How it works…
- -o <dir> option / There's more…
- -o latest-commit option
- about / How it works…
- -o option / There's more…
- object expiry, Git configuration
- about / Expiry of objects
- gc.reflogexpire / Expiry of objects
- gc.reflogexpireunreachable / Expiry of objects
- gc.pruneexpire / Expiry of objects
- objects, Git
- about / Git's objects
- commit / The commit object
- tree / The tree object
- blob / The blob object
- branch / The branch
- tag / The tag object
- oh-my-zsh
- URL / See also
P
- --prefix option / How to do it...
- --preserve-merges flag / How to do it...
- --pretty=fuller option / How it works…
- patches
- creating / Creating patches, How to do it..., There's more…
- creating, from branches / Creating patches from branches, How to do it..., There's more…
- applying / Applying patches, How to do it..., There's more…
- sending / Sending patches, How to do it..., There's more…
- porcelain option
- about / There's more...
- preceding command
- options / How to do it...
- prepare-commit-msg hook
- about / Using a branch description in the commit message, How to do it...
- used, for creating commit message / How to do it..., There's more...
- prepushHook branch
- about / How to do it...
- pull.rebase configuration / Rebase and merge setup
Q
- --quiet option / How to do it...
- -q, --quiet option / There's more…
R
- -rq option
- about / How it works…
- rebase
- about / Introduction
- continuing, git rebase -continue used / Continuing a rebase with merge conflicts, How to do it, How it works
- used, for changing author of commits / Changing the author of commits using a rebase, How to do it..., How it works...
- rebase and merge setup, Git configuration
- about / Rebase and merge setup
- pull.rebase / Rebase and merge setup
- branch.autosetuprebase / Rebase and merge setup
- branch.<name>.rebase / Rebase and merge setup
- rebasing
- commits, to another branch / Rebasing commits to another branch, How to do it…, How it works
- selective commits / Rebasing selective commits interactively, How to do it, There's more…
- reflog command
- about / Viewing past Git actions with git reflog
- used, for viewing Git actions / Viewing past Git actions with git reflog, How to do it..., How it works...
- refs namespaces
- about / How to do it...
- refspec
- about / The refspec exemplified
- using / The refspec exemplified, Getting ready, How to do it..., How it works...
- format / How it works...
- refspec fetch
- about / How to do it...
- release note
- generating / The contents of the releases, How to do it..., How it works...
- remote branches
- repositories
- backing up, as mirror repositories / Back up your repositories as mirror repositories, How to do it..., How it works…, There's more…, A quick submodule how-to
- repository
- notes, retrieving from / Retrieving notes from the remote repository, Getting ready, How to do it..., How it works...
- notes, pushing to / Pushing notes to a remote repository, How to do it..., There's more...
- commit, tagging in / Tagging commits in the repository, Getting ready, How to do it..., There's more...
- splitting / Splitting a repository, Getting ready, How to do it..., How it works…
- repository history
- rewriting / How to do it..., How it works…
- repository information
- displaying / Displaying the repository information, There's more…
- reset command / How it works…
- rev-parse command
- examples / Displaying the repository information
- about / There's more…
- revert command / How it works...
S
- --squash option / How to do it...
- --stdout option / There's more…
- --suffix=.<sfx> option / There's more…
- -s, --signoff option / There's more…
- selective commits
- send-email command / There's more…
- shortlog git command / How to do it...
- smudge filter / How to do it...
- source command
- about / How to do it...
- source tree
- bottlenecks, searching / Finding bottlenecks in the source tree, How to do it..., There's more...
- staging area / Getting ready
- stash command / How it works…, There's more…
- stashes
- saving / Saving and applying stashes, How to do it..., There's more…
- applying / Saving and applying stashes, How to do it..., There's more…
- status command / There's more…
- status information
- bash prompt, used with / Bash prompt with status information, How it works…, See also
- subdirectory-filter
- about / There's more…
- submodule
- about / A quick submodule how-to
- working / Getting ready, How to do it..., There's more…
- repository, cloning / There's more…
- versus subtree merging / Submodule versus subtree merging
- subtree
- using, URL / See also
- subtree merging
- about / Subtree merging, How to do it..., How it works…, See also
- versus submodule / Submodule versus subtree merging
- super project
- recloning / Getting ready, How to do it...
- SYSTEM layer
- configuring / Configuration targets, How to do it..., There's more...
T
- tagging, commit
- in repository / Tagging commits in the repository, Getting ready, How to do it..., There's more...
- tag object
- about / The tag object
- tags
- about / Tagging commits in the repository
- lightweight tag / Tagging commits in the repository
- annotated tag / Tagging commits in the repository
- template
- creating / Templates, How to do it...
- template directory
- creating / A .git directory template, Getting ready, How to do it..., How it works...
- top contributor
- extracting / Extracting the top contributor, How to do it..., There's more...
- tree
- archives, creating from / Creating archives from a tree, How to do it..., There's more…
- tree-filter
- about / There's more…
- tree information
- displaying / Displaying the tree information, How to do it...
- tree object
- about / The tree object
- writing, to database / Writing a tree object to the database, How it works…
U
- UI
- coloring, in prompt / Color UI in the prompt, How to do it...
- update-index command
- using / How it works…
V
- VCS
- about / Introduction
W
- working directory
- reverting, to clean state / Undo – working with a dirty area, How to do it...
Z
- zero-status
- about / There's more…