差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
public:it:git [2026/07/10 11:11] – [Tips] oakfirepublic:it:git [2026/08/12 09:51] (当前版本) – [server: gitolite] oakfire
行 127: 行 127:
  
 ==== Tips ==== ==== Tips ====
-  * 查看暂存区(git add 的内容)的修改:''git diff --staged'' 或 ''git diff --cached''+  * 查看暂存区(''git add'' 的内容)的修改: ''git diff --staged'' 或 ''git diff --cached''
   * 查看每次修改的文件统计(不显示具体代码修改):<code bash>git whatchanged --stat     * 查看每次修改的文件统计(不显示具体代码修改):<code bash>git whatchanged --stat  
 # 或者 # 或者
 git log --name-status</code> git log --name-status</code>
   * 设置git走本地代理<code bash>   * 设置git走本地代理<code bash>
-#只对github.com+#只对 github.com 进行代理
 git config --global http.https://github.com.proxy socks5://127.0.0.1:1080 git config --global http.https://github.com.proxy socks5://127.0.0.1:1080
  
行 174: 行 174:
 ==== server: gitolite ==== ==== server: gitolite ====
   * [[http://gitolite.com/gitolite/index.html|gitolite docs]]   * [[http://gitolite.com/gitolite/index.html|gitolite docs]]
-  * :!: ''conf/gitolite.conf''里,权限项单独的 ''C ''才表示创建 repo 的权限, 而 ''RWC''的 ''C''是表示禁止创建ref. 具体看[[http://gitolite.com/gitolite/conf.html#write-types|文档]].+  * :!: ''conf/gitolite.conf''里,权限项单独的 ''C'' 才表示创建 repo 的权限, 而 ''RWC''的 ''C'' 是表示禁止创建ref. 具体看[[http://gitolite.com/gitolite/conf.html#write-types|文档]].
  
  
  • public/it/git.1783653113.txt.gz
  • 最后更改: 2026/07/10 11:11
  • oakfire