Skip to content

Instantly share code, notes, and snippets.

@jtryan
Created October 16, 2015 19:30
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 jtryan/3d832fa20e82ce1dff5a to your computer and use it in GitHub Desktop.
Save jtryan/3d832fa20e82ce1dff5a to your computer and use it in GitHub Desktop.
Git command to move HEAD

Easy Peasy

git remote set-head $REMOTE_NAME $BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment