Languages

Git - how to add untracked files using git bash?

3 points
Asked by:
Walter
226

How can I add untracked files using git bash?

1 answer
5 points
Answered by:
Walter
226

As I understand, you want to add some untracked files to the tracked list.

There are 2 easy ways:

  1. git add -A - adds all files to the tracked list (untracked and modiffied),
  2. git add path/to/some/file - added only indicated file to the tracked list.
0 comments Add comment
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join