How to merge a remote branch into your current HEAD?

git merge remote/branch

To merge a remote branch into your current HEAD use git merge remote/branch.

Layer 1
Terminal Example
git merge origin/patch-1
Updating 9d3aced..7a6764a
Fast-forward
 code.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

See git merge to learn more about it.

Last modified on November 30, 2021.

You might also like