Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第4章 Git初始化 #42

Open
GH1995 opened this issue Jan 13, 2020 · 2 comments
Open

第4章 Git初始化 #42

GH1995 opened this issue Jan 13, 2020 · 2 comments
Labels

Comments

@GH1995
Copy link
Owner

GH1995 commented Jan 13, 2020

git config --global user name "Jiang xin
git config --global user.email "jiangxingossxp.com"
git config --global color.ui true
@GH1995 GH1995 added the git label Jan 13, 2020
@GH1995
Copy link
Owner Author

GH1995 commented Jan 13, 2020

思考:为什么工作区根目录下有一个.git目录

git grep命令来更好地搜索工作区的文件内容

git grep "工作区文件内容搜索"
02-git-Bolo/010-git-init.rst:' git grep'命令来更好地搜索工作区的文件内容。

.git/index记录了工作区文件的状态(实际上是暂存区的状态)

@GH1995
Copy link
Owner Author

GH1995 commented Jan 13, 2020

思考:git config命令的各参数有何区别

git config -e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant