Skip to content

Instantly share code, notes, and snippets.

@enorms
Created June 11, 2021 06:31
Show Gist options
  • Save enorms/c378cd69de6633c0507f3ceda959e140 to your computer and use it in GitHub Desktop.
Save enorms/c378cd69de6633c0507f3ceda959e140 to your computer and use it in GitHub Desktop.
git pull in one file from branch
git checkout origin/main -- {filename}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment