I just started using Git and Github 2 weeks ago, and I wonder if it works the same way clouds do; by pushing to the same branch of the same repository from 2 different locations (2 computer, same files)
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Whoever pushes second will have to do a
git pullfirst and resolve any merge conflicts that occur before being able to push their changes to the remote repository. This is because they need to know about what others have changed before pushing their own on top of them.Since you’re new to Git, I recommend reading some Git tutorials, as Git is a very complex tool with many commands. It is immensely more frustrating to use if you don’t understand how it works.