Update a local repo with Git (Bitbucket)

I switched recently to a Bitbucket/git system to work on my code, and i’m having some troubles understanding.

Here what I did:

  • Short read Permission denied during Checkout branch in Android Studio
  • How to maintain remote repo (Github, Bitbucket) up to date with the running server
  • How I can pull the new code from bitbucket?
  • How to keep two git repos synchronized?
  • Bitbucket, Windows and “fatal: could not read Password for”
  • Cloning from BitBucket to GIT without login?
    • Created a repo on Bitbucket, pushed all my code into it, from my computer A.
    • On my computer B, I cloned this code and worked on it. I pushed every modifications on Bitbucket.

    But now, it may be very simple, but I don’t know how I get back my modifications I push (the latest commits) on my computer A…

    I tried forking as written on the doc, but it’s creating another repo… I don’t get it 🙁

    Thank you for replying!

  • How to show log with HEAD index
  • how to tell Git (msysgit on Windows) to use ssh and not pageant
  • GIT - Managing two branches at once? Merge at some point?
  • git: fatal: Could not read from remote repository when cloning Private Cocoapod
  • Is it okay to keep local repos on dropbox without remote repo
  • How to update a file in remote repo, without cloning that repo first?
  • One Solution collect form web for “Update a local repo with Git (Bitbucket)”

    You need to pull your changes in your local repo on computer A. Run the following (assuming your branch name is master)

    git pull origin master
    

    For a basic guide to git, check out http://rogerdudler.github.io/git-guide/

    Git Baby is a git and github fan, let's start git clone.