How to sync my project with Github

Asked

Viewed 783 times

0

Hello I have I started a project via github in Intellij. I cloned the data from github. I logged in via cmd and configured everything. however when I commit. appears that the commit was successfully executed. But in my git repository nothing changes. I don’t think he’s altering the same repository I wish

  • foul git push

  • how to configure? is there any tutorial?

  • 1

    I got it. vlw

1 answer

1

GIT is a version control system that works with 4 workspaces, 3 of which are local: Working, Staging, and Local. When you create the project it is initially in the area Working. When you modify data and add it to prepare the commit, it goes to the area Staging. When you finish the job and commit, they go to the area Local, which is your local repository. So that everything is sent to the area Remote, you need to use the command git push. That’s what’s missing so you can see your changes on Github. For a better understanding of Git, I recommend this website very cool with a very interactive way of learning.

  • 1

    And if someone is contributing and you want to take the other person’s changes, just one git pull.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.