How to pull changes from github to bitbucket after initial import?

When I first created my new bitpack repository, I used the opportunity to import the source from github (import existing code). However, this git repo has now been updated, and I would like to pull these changes and update my repo on bitpack too. How can i do this?

+4
source share
2 answers

You need:

  • Locally localize the BitBucket repository.
  • add remote link to github repository

    git remote add github /url/of/github/repo
    
  • extract from this github repo

    git pull github master
    
  • click on the beat bag

    git push -u origin master
    
+12
source

. bitbucket, / github bitbucket.

.

+2

All Articles