Post History
You can fake out git as long as you have some empty Git repository available somewhere. git --git-dir=path-to-empty-repo/.git \ ls-files --others --exclude-standard
Answer
#2: Post edited
- You can fake out `git` as long as you have some empty Git repository available somewhere.
- ```
git --git-dir=path-to-empty-repo/.git --work-tree=. \- ls-files --others --exclude-standard
- ```
- You can fake out `git` as long as you have some empty Git repository available somewhere.
- ```
- git --git-dir=path-to-empty-repo/.git \
- ls-files --others --exclude-standard
- ```