Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command for adding all files in git status -uno

Tags:

git

I am trying to add all files that is tracked. git add . seems to add all files regardless of tracking status. Is there a git command for adding all files in git status -uno?

like image 763
user445670 Avatar asked May 01 '26 03:05

user445670


1 Answers

git add -u (or --update) will add any file that was previously tracked by git. git add -A will add all the the files, including those that weren't previously tracked.

like image 103
Mureinik Avatar answered May 03 '26 20:05

Mureinik