git 快速查看状态

我们公司的测试服务器为了节省成本,买的是阿里云最便宜的服务器,貌似是1M1G的,每次git status都很痛苦,服务器比较垃圾,I/O很慢,需要等很长时间。今天git status的时候,下面提示了一句:

On branch debug
You are currently rebasing branch 'raobenjun' on 'fdadfd5'.
(all conflicts fixed: run "git rebase --continue")

Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)

modified: application/views/beta/adminnew/users/detail/personal.php

It took 2.62 seconds to enumerate untracked files. 'status -uno'
may speed it up, but you have to be careful not to forget to add
new files yourself (see 'git help status').
no changes added to commit (use "git add" and/or "git commit -a")

上面有一句It took 2.62 seconds to enumerate untracked files. ‘status -uno’ may speed it up,我试试了git status -uno,瞬间打开了我的世界啊,这哪是1M1G的服务器啊,这简直是秒出啊。查了很多地方资料,也没看见解释说为什么这么快。

目前先搁置着,问了谷大哥也没问出来。查出来了我在更新。

 

暂无评论

发送评论 编辑评论


|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇