projects:progit:inspection
This is an old revision of the document!
Table of Contents
Inspecting Git repository
Te Three Main States
State | Location | Description | Method of inspection |
---|---|---|---|
Commited | .git directory | Stored in DB | git log |
Modified | Working directory | Changed | git status git diff |
Staged | Staging area (.git/index) | Changed and marked for next commit to the DB | git status |
Specifying revision
There are many ways to distinguish a specific commit from Git repository.
- SHA (hash) - The SHA-1 algorithm is used to create a unique 40-byte hexadecimal string in many corners of git. The SHA (hash-object cat-file)
Diff
Debugging with Git
blame | |
grep | |
bisect |
References
projects/progit/inspection.1454797423.txt.gz · Last modified: 2016/02/06 23:23 by mkucia