Is there a way to include files specifically excluded by a projects .gitignore file? Similar to how .git/info/exclude listings exclude files while not being under version control I want to revert exclusions done by .gitignore so I can see changes in these files.
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Android version code for App updating
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
相关文章
- 请教Git如何克隆本地库?
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is it possible to do a “destroy history” in TFS?
- Is there a version control system abstraction for
Excluding files in
.gitignore
, there are four status of files:so you can use
git ls-files -o
to view untracked files,git ls-files -d
to view deleted files by the last operation,git ls-files -m
to view modified files, andgit ls-files -s
to view files have been stagedYes: just add them (edit: with
git add -f
). The ignore specs only apply when scanning for untracked files (or when explicitly working with the ignore criteria,git ls-files
can e.g. show you tracked files that match ignore criteria).