• Ethan@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    If you’re using reset with uncommitted changes and you’re not intentionally throwing them away, you’re doing something wrong. git reset —hard means “fuck everything, set the state to X”. I only ever use it when I want to throw away the current state.