Git-预设置
Who are you?
Every Git commit includes the author’s name and e-mail. Make sure Git knows your name and email by running these two commands:
git log
git log is a command for looking at the history of your repository. To create a special version of git log that summarizes the history of your repo, let’s create a git lol alias using the command (all on one line):
| |
Now, in any repository you can use:
| |
to see an ASCII-art graph of the commit history.
代理
代理协议支持 http,https,socks5 等
| |
default branch
| |
check
To confirm that you set up Git properly, run
| |
and look for the settings you made in its output: