Skip to content

Forum in maintenance, we will back soon 🙂

Notifications
Clear all

Github Setting

3 Posts
3 Users
3 Reactions
146 Views
Shireen
(@shireen168)
Posts: 8
Member
Topic starter
 

Hi Sir Hassan, 

Sorry, it's me again and my apologies for some noob question from a total newbie.

I have created Github account and follow your lesson, after creating code in Visual Studio, it doesn't automatically push over to Github desktop, what have i missed? 
Appreciate if you could enlighten me. 
Thanks Sir!

Shireen

 

 
Posted : 08/18/2023 5:51 am
Topic Tags
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

Hi, no need to say sorry. We are learning here 🙂

it is updating, you can see it says "one changed file"

 

 
Posted : 08/18/2023 8:53 am
Shireen reacted
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@shireen168 in the picture I notice that you have a file app.py that you have not saved. Use CTRL-s to save the file. Also, in the extensions for VS Code did you install the Github extensions? Also, regardless, VS Code doesn't automatically push to Github, even with the extensions. You have to do that push yourself.

In the terminal window:

git status

git add <file>

git commit -m"Comment about the changes"

git push

The git status shows what files are not committed, added, tracked, etc.

The git add <file> adds the change to the queue for the commit.

The git commit -m"Comment about the changes" adds the change to the git database with documentation about the change.

And the git push pushes the repository to the database host (Github).

 

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/18/2023 5:30 pm
Share:
[the_ad_group id="312"]