eeechoo / blogs

个人博客
0 stars 0 forks source link

git #12

Open eeechoo opened 5 years ago

eeechoo commented 5 years ago

1. 场景

1.1. 查看 git 配置

git config --list

1.2. 存在代理的时候

git config --global core.gitProxy git config --global http.proxy git config --global https.proxy

eeechoo commented 5 years ago

git 为什么需要 暂存区 这个概念? https://blog.csdn.net/qq_32452623/article/details/78417609 什么修改了4个文件,然而只想提交三个文件,这种情况没有 stage 一样可以做啊,只要commit 不同的 file 就行了。为什么还需要 stage area 呢? https://stackoverflow.com/questions/6802928/why-is-there-a-staging-process-in-git

eeechoo commented 5 years ago

代码的提交粒度到行 https://stackoverflow.com/questions/1085162/commit-only-part-of-a-file-in-git

eeechoo commented 5 years ago

https://stackoverflow.com/questions/7751555/how-to-resolve-git-stash-conflict-without-commit?r=SearchResults