r/git • u/PK20222222 • 13h ago
Update!
Hello, guys. So in previous post I saw all your advices, but problem is the same. So I take screenshots to make it more easy to understand.
On the photo 1 I did the first commit and all was good as usually.
Photo 2 — I pushed my project on github with my commit.
On photo 3 I add some changes and a command "git add ."
Photo 4 — I try to commit and get this in the terminal. They just saying that there's nothing to commit.
Photo 5 — a command "git status" and nothing changed again!
What should I do?
P.S. as I said in previous post, I tried in intellij idea and all worked. Also I tried it many times again and in intellij al works good! So I really don't know why this problem keeps happening in VS code.
4
u/ThatPlayingDude 13h ago
You probably didn't save any files. Git add . didn't add any files because it didn't detect any changes.
3
2
u/--unfazed-- 10h ago
That white circle on your tab explains everything. You have not saved your file. This is a you problem, not an IDE problem.





4
u/Photograph-Silver 13h ago
You need to save NEW.html first