Git - how to add untracked files using git bash?

3 points
Asked by:

How can I add untracked files using git bash?

1 answer
5 points
Answered by:

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
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
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.

❤️💻 🙂