Welcome to the Treehouse Community
Looking to learn something new?
Willemijn B5,577 Points
Where to see the working directory files
In this video Jay shows how one file seems to 'disappear' when checking out to the master branch. Where would I find this overview of files in the folder when I'm using Git in my Terminal (on Mac)? Would this be visible in a code editor like Atom the same way it is in Workspaces, or should I find it somewhere else?
Jason AndersTreehouse Moderator 145,624 Points
Hi Willemijn B
The 'working directory' you're seeing in the video isn't actually a file directory of a folder. It is the side bar of his Text Editor that is showing the file tree of the project being worked on.
If you were to just show your folder contents on the desktop or run the list in the terminal as Jamie said, you will see all the files for the project regardless of which branch you are on. The files will only disappear and re-appear in the file tree within the Editor you are using to code (e.g Atom, VS Code, Sublime, etc).
I hope this clears it up some.
Jamie ReardonTreehouse Project Reviewer
You can run the command -ls to show the contents of a directory. Hidden files will be ignored however, you may pass the command option -a or --all to include hidden files, they begin with a ".".