Part2 Basic Concepts
1.find. Git -View git's directory structure
2.git ls-files--stage -View the staging file and its Blob object in the index state (16-binary commit code)
No tubes (trees and labels)
git write-tree -View hash code for git tree
git cat-file-p 8dfef03b27e8b49c44c57cf5641b0056802e3b33 -View the file structure of a git directory based on the hash code of the tree
git tag-m "tag version 1.0haha" V1.0 -Create tag
git rev-parse V1.0 -View the hash code of the tag
part3 the index section (depending on the status of the index to see if the staging stage file exists). git divides files into 3 categories, tracked tracked-untracked-ignored ignored
1.echo mian.o >. Gitignore -record main.o files in Gitignore file
2.git Add. Gitignore -Add an ignorable file
3.git RM--cached index.html -delete the index.html file from the index and do not delete the local file
4.git ls-files-d -View deleted files
5.git log--follow papa.o -View all logs associated with PAPA.O
6.git Show-branch--more=10-View the 10 most recently submitted information
Git rev-parse master~9 -Converts tags, relative names master~9, symbol references to commit hash codes
several symbol references: HEAD, Orig_head, Fetch_head, Marge_head, Cherry_pick_head
7.git log--pretty=short--abbrev-commit master~8..master~2 -View submissions on the main branch from the 7th to the bottom of the 2nd time
Part4 to find specific error submissions by 2 points
8.git bisect start -start binary lookup error commit
9.git bisect Bad - tells Git that the current is a dirty Commit
10.git bisect Good V1.0 -tell git that the V1.0 tag is a good commit
11.git bisect Log -two min find log
12.git Branch -View branches
13.git bisect Reset -end lookup, back to the original branch
14.git blame index.html -View error file who modified
Git version control management Part II: Some of the commands