Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I'd like to know if it's possible to know if a file existed inside a folder using git commands or using the github tools.
I checked using the git log, It shows the commits log, but it doesn't have information about which files were affected.
git log filename.txt
filename.txt
This will allow you to see the directories in given branch.
git ls-tree -d origin/master:<remote_dir><remote_subdir>
Add a comment
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
git log filename.txtwill show you the history forfilename.txt, regardless of whether it currently exists