Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

git-untracked

How to see untracked files in git instead of untracked directory

December 25, 2023 by Tarik

If git only shows that the directory is untracked, then every file in it (including files in subdirectories) is untracked. If you have some ignored files in the directory, pass the -u flag when running git status (i.e., git status -u) to show the status of individual untracked files.

Categories git Tags git, git-untracked, github Leave a comment

What are tracked files and untracked files in the context of Git?

August 31, 2023 by Tarik

A file is tracked if it is under version control. As a small example, a C++ project would have Makefile main.cpp interface.hpp worker.cpp as source files; you’d put these under version control. During build, main.o worker.o myapp are generated; these do not belong under version control, so you do not use git add on them. … Read more

Categories git Tags git, git-track, git-untracked Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa