Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git add " Nothing specified nothing added "

I'm new to using git and I'm getting a bit confused. What I'm trying to do is set up a new repository for a particular project folder. My first question is where exactly do I need to be filewise in the terminal, Desktop or the Folder itself to initialize the files. I tried navigating to the actual folder and typed in git status which listed the files as untracked so I typed git add to stage for commit which came up with "Nothing specified, nothing added. Maybe you wanted to say 'git add"

Not sure where I have gone wrong.

like image 554
Lee Border Avatar asked Jul 16 '26 06:07

Lee Border


1 Answers

Please use git add . instead of git add

like image 84
Jitendra Suthar Avatar answered Jul 18 '26 03:07

Jitendra Suthar



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!