Skip to content

Instantly share code, notes, and snippets.

@tibawatanabe
Last active July 13, 2017 22:20
Show Gist options
  • Save tibawatanabe/d6d4e839ebc38a094b40a76c9a236e03 to your computer and use it in GitHub Desktop.
Save tibawatanabe/d6d4e839ebc38a094b40a76c9a236e03 to your computer and use it in GitHub Desktop.
git fetch a single branch
git fetch <remote_name> <branch_name>
# or
git fetch --depth=<number_of_commits> <remote_name> <branch_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment