Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changes not staged after git add

Tags:

git

Why would I get items in the Changes not staged for commit after I run git add .?

> git add .
> git st 

# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#   (commit or discard the untracked or modified content in submodules)
#
#       modified:   bin/ls-- (modified content, untracked content)
#

This is on Red Hat 4.1.2-50 with git 1.7.10.

like image 821
Amelio Vazquez-Reina Avatar asked Jun 11 '26 10:06

Amelio Vazquez-Reina


1 Answers

Try git add -A and then check the status to commit

like image 110
Jaimoto Avatar answered Jun 13 '26 23:06

Jaimoto



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!