有没有可能`git status`只修改文件? [英] is it possible to `git status` only modified files?

查看:772
本文介绍了有没有可能`git status`只修改文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以 git status 并仅显示已修改的文件?

问题是我有太多的暂存文件,我现在不想提交或gitignore,我无法向上滚动。我在Ubuntu上设置了一个回滚限制。

解决方案

你不能用 git status ,但您可以使用 git ls-files -m 来显示所有已修改的文件。


Is it possible to git status and show only modified files?

The problem is i have too many staged files that i don't want to commit or gitignore at the moment and i can't scroll up. I have a scrollback limit set on Ubuntu.

解决方案

You can't do this with git status, but you could use git ls-files -m to show all modified files.

这篇关于有没有可能`git status`只修改文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆