Skip to content

Instantly share code, notes, and snippets.

@richardoey
Last active March 16, 2021 07:16
Show Gist options
  • Save richardoey/fe0190c7eb5793f2489b294292da991a to your computer and use it in GitHub Desktop.
Save richardoey/fe0190c7eb5793f2489b294292da991a to your computer and use it in GitHub Desktop.
The best and safest way to merge branch in Git
git checkout master
git pull origin master
git merge test
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment