8000 Add "panic" · Issue #2 · billiegoose/g · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add "panic" #2
Open
Open
@billiegoose

Description

@billiegoose

Create a commit that will revert a branch (say master) to an earlier state.

PARENT=$(current branch)
git reset --mixed REF
git reset --soft PARENT
git commit -m "Reverting to state at $PARENT"
g reset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0