CaptainCarl
CaptainCarl

Reputation: 3489

Git does not add all my files

I've created a project a while ago and switched computers in between. I cloned my project and am pushing/building from my new computer now.

Everything I change is added and pushed perfectly fine (with git commit -am). But I've discovered that I've added some files to my local project whom aren't being pushed to my github.

A LOT of files. Now; Using git add * says fatal: no files added.

Any ideas how I can push my entire project to github now and being able to use it properly again? I'm totally lost in Git world :)

Upvotes: 0

Views: 2165

Answers (1)

Andreas Wederbrand
Andreas Wederbrand

Reputation: 40061

Try git add --all, it adds EVERYTHING. Then you can remove those files that you don't want to commit.

Upvotes: 2

Related Questions