Skip to content

Instantly share code, notes, and snippets.

@archiewald
Created January 8, 2019 16:08
Show Gist options
  • Save archiewald/a2f58ad042e70062c2e5a0abee04ce93 to your computer and use it in GitHub Desktop.
Save archiewald/a2f58ad042e70062c2e5a0abee04ce93 to your computer and use it in GitHub Desktop.
[merge remote branch to local] #git

Fetch the remote branch from the origin first

git fetch origin remote_branch_name

Merge the remote branch to the local branch

git merge origin/remote_branch_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment