Skip to content

Instantly share code, notes, and snippets.

@Shterneregen
Last active March 26, 2020 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shterneregen/3b1b49451f77d91f247965a73e109f7b to your computer and use it in GitHub Desktop.
Save Shterneregen/3b1b49451f77d91f247965a73e109f7b to your computer and use it in GitHub Desktop.
How to pull master branch being on another branch
:: https://stackoverflow.com/questions/18857570/git-pull-without-checkout
git fetch origin master:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment