我对 Sourcetree 有疑问。
在某个存储库中,应用程序向我显示了 gitinored 的未暂存文件:
起初我以为问题出在 gitignore 文件上,或者我之前已经暂存了这些文件。 显然两者都不是真的。
更奇怪的问题是,当我使用 git shell 并输入:
git 状态
我得到的只是我真正想要跟踪修改后的两个源文件。
uname@compname MINGW64 /c/programing/SailingRaceCourseManager/SailingRaceCourseManager (develop)
$ git status
On branch develop
Your branch is up-to-date with 'origin/develop'.
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: app/build.gradle
modified: app/src/main/java/com/compname/appname/geographical/OwnLocation.java
no changes added to commit (use "git add" and/or "git commit -a")