Sourcetree 显示未暂存和 gitignored 的文件
Sourcetree shows files that are unstaged and gitignored
我对 Sourcetree 有疑问。
在某个回购协议中,应用程序向我显示 gitinored 的未暂存文件:
起初我认为问题出在git忽略文件或者我之前已经暂存了这些文件。
显然两者都不是真的。
更奇怪的问题是,当我使用 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")
我的错误。
原来 filter\sort 框是在 "Ignored files" 上设置的:
(花了我一个多月的时间才弄明白...)
我对 Sourcetree 有疑问。
在某个回购协议中,应用程序向我显示 gitinored 的未暂存文件:
起初我认为问题出在git忽略文件或者我之前已经暂存了这些文件。 显然两者都不是真的。
更奇怪的问题是,当我使用 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")
我的错误。
原来 filter\sort 框是在 "Ignored files" 上设置的: (花了我一个多月的时间才弄明白...)