Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Updating my local Master Repo

Sreelakshmi February 19, 2019

Hello,

I followed all the instructions on your website to create Repo, add file, pull and push files.

When I created Repo for the first time locally Master was created. It reflected contents same as the contents on remote(repo). 

Other members who are using same Repo have added details to files and merged onto Repo. Now if I have to move my master to the latest, i tried to Pull request. there happens to be conflict on the pull request; how do i resolve it and update my master to lastest and point to the latest repo in Remote 

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2019

I guess you are trying to update your changes in local, on master, and push it to remote? If so, try this:

1. Pull from remote master first. git pull origin master

2. If there are merge conflicts, address those

3. Commit the merged code locally

4. Push to remote. git push origin master

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events