Hacker News new | past | comments | ask | show | jobs | submit login

It's just git reset --hard. HEAD is implied.

Edit: To be more specific:

    git  # the executable
    reset  # the operation
    --hard # the type of reset being done (hard reset)
    HEAD  # where to reset *to*. Defaults to HEAD if not specified.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: