Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Addition of command to revert the last commit #75

@mihikagaonkar

Description

@mihikagaonkar

You could add the following commands

  • git reset --soft HEAD~1 - used to revert the last commit and retain the changes when changes aren't pushed
  • git reset --hard HEAD~1 - used to revert the last commit and discard the changes when changes aren't pushed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions