u/PK20222222

Image 1 — Update!
Image 2 — Update!
Image 3 — Update!
Image 4 — Update!
Image 5 — Update!
▲ 1 r/git

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.

u/PK20222222 — 1 day ago
▲ 0 r/git

Can't commit in vs code(git and github)

Hi guys, this is my first post and the problem is that I can't commit my new changes in project in visual studio code. I didn't found anything about exactly this problem on reddit, so I decided to ask here. So I just started to work with git and github, I learn it on YouTube and I started in vs code to get examples like in that videos. All started good, but when I already push my project to repository on github and then I change some in code and trying to commit changes, vs code just text me in thi terminal that there is nothing to commit and that the project has no changes. Because of it I also can't create another branches (in fact I create them, but I can't do anything with them like that person do in the video!). So I don't understand and don't know how to solve this problem. Maybe someone can help me or give me advice.(maybe here is some mistakes, English isn't my native language). Oh and I forgot to say that also I tried this in the intellij idea and all works, so maybe problem actually in vs code.

reddit.com
u/PK20222222 — 2 days ago