git 检查存储库是否有任何未提交更改的命令
git command to check if a repository has any uncommitted changes
我需要知道是否有 git 命令可以用来检查给定存储库的分支中是否存在任何未提交的更改
http://supercollider.sourceforge.net/wiki/index.php/Developer_cheatsheet_for_git
参考此 link 以获得 git 命令。
显示未提交的本地更改:
git diff [file]
如果您只对索引中的文件感兴趣,以下命令会显示简明信息
git status -suno
我需要知道是否有 git 命令可以用来检查给定存储库的分支中是否存在任何未提交的更改
http://supercollider.sourceforge.net/wiki/index.php/Developer_cheatsheet_for_git
参考此 link 以获得 git 命令。
显示未提交的本地更改:
git diff [file]
如果您只对索引中的文件感兴趣,以下命令会显示简明信息
git status -suno