2.获取帮助

若你使用 Git 时需要获取帮助,有三种方法可以找到 Git 命令的使用手册:

$ git help <verb>
$ git <verb> --help
$ man git-<verb>  linux系统专用

例如,要想获得 config 命令的手册,执行

$ git help config

这些命令很棒,因为你随时随地可以使用而无需联网。 

猜你喜欢

转载自www.cnblogs.com/hihtml5/p/9238644.html
2.
今日推荐