世界上最伟大的投资就是投资自己的教育

全场限时 5 折

首页Git
随风 · 练气

git 命令增强扩展工具 - git-extras

随风发布于4775 次阅读

增强 git 的命令,可以用更简单的方式实现有趣的功能。

https://github.com/tj/git-extras

安装:https://github.com/tj/git-extras/blob/master/Installation.md#mac-os-x-with-homebrew

可以使用 brew 来安装。

$ brew install git-extras

演示:

没安装 git-extras 前:

$ git init
$ git add .
$ git commit -m "initial commit"

安装 git-extras 后:

仅一条命令:

$ git setup

还有 git summary

$ git summary                                                                                                                                                       git:(master|…

 project  : rails365
 repo age : 2 years, 8 months
 active   : 239 days
 commits  : 814
 files    : 442
 authors  :
   320  suifeng            39.3%
   316  hfpp2012 yinsigan  38.8%
    88  suifeng2012        10.8%
    88  yinsigan           10.8%
     2  hfpp2012           0.2%

ga . 相当于 git add .

gst 相当于 git status

gca 相当于 git commit -m "..."

git changelog 生成 History.md

git ignore 等等。

所有的命令参考这里:https://github.com/tj/git-extras/blob/master/Commands.md

视频介绍:https://vimeo.com/45506445

完结。

本站文章均为原创内容,如需转载请注明出处,谢谢。

0 条回复
暂无回复~~
喜欢
统计信息
    学员: 29232
    视频数量: 1985
    文章数量: 489

© 汕尾市求知科技有限公司 | Rails365 Gitlab | Qiuzhi99 Gitlab | 知乎 | b 站 | 搜索

粤公网安备 44152102000088号粤公网安备 44152102000088号 | 粤ICP备19038915号

Top