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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Updating my local Master Repo

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

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
Community showcase
Published in Training & Certification

Atlassian Cloud 101: Start quickly with free training

Free training for Jira, Confluence, and Jira Service Management Start faster and be more productive with Atlassian cloud products. Take the guess work out of where to begin, and gain confidence wi...

80 views 3 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you