过了一段时间我想更新我的git repo,然后出了点问题.出现这种情况的正确方法是什么?
mblsha@siruba:~/src/psi/ $ git status
iris: needs merge
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: src/common.cpp
#
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
#
# unmerged: iris
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# gupdate.sh
mblsha@siruba:~/src/psi/ $ git submodule status
+cf237ef8f3d9dc058dbde47e6973e6388608ce60 iris (heads/master)
+cf237ef8f3d9dc058dbde47e6973e6388608ce60 iris …Run Code Online (Sandbox Code Playgroud) 人们可以建议的一个解决方案是定期寻找一个特殊的"屏幕保护程序"桌面,如果它存在,那么将其计为运行的屏幕保护程序.
但显然所有屏幕保护程序都不是这种情况,因为一些提到的桌面总是存在.
有更可靠的解决方案吗?