Moving refs around

suggest change

Running git reset --hard moves refs to the specified hash/ref.

Moving MyBranch to b8dc53:

$ git checkout MyBranch      # moves HEAD to MyBranch
$ git reset --hard b8dc53    # makes MyBranch point to b8dc53

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents