我对Sourcetree有疑问。 在某个repo中,应用程序向我显示了gitinored的非暂存文件:
起初我认为问题出在gitignore文件上,或者我之前已经暂存了这些文件。 显然两者都不是真的。
更奇怪的是,当我使用git shell并输入:
时git status
我得到的是我实际想要跟踪修改的两个源文件。
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")