gitgithubgithub-app

How to get files from a remote Branch to your local Branch [Github]


After i commited certain files/changes to a remote branch through the Github Desktop App, i would like to get those changes to the local branch. I do work with SAP Web IDE.

What i tried:

fetch 

Issue: Didn't really work out

Question: How to get the data of the remote Branch to a local Branch ?


Solution

  • Use git fetch to update your local references to the remote branch. In other words: git fetch checks for updates on the remote repository, but does not yet merge any updates to your local repository. After fetching, use git merge or git rebase to integrate the remote changes into your local repo.

    https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes