Skip to content

Instantly share code, notes, and snippets.

@ltpitt
Last active February 27, 2017 12:59
Show Gist options
  • Save ltpitt/aeb205c8e7961dc1ec57a6026636e45f to your computer and use it in GitHub Desktop.
Save ltpitt/aeb205c8e7961dc1ec57a6026636e45f to your computer and use it in GitHub Desktop.
Git commands to download latest version of your code from repository
# Reset current HEAD to the specified HEAD state
git reset --hard HEAD
# Fetch from the remote repository and integrate with local branch
git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment