Skip to content

changed git state when user cancels operationΒ #16

@Bhupesh-V

Description

@Bhupesh-V

Describe the bug
Changes are committed even though the user opts out of pushing the files to upstream (say for e,g hitting Ctrl+C), this is undesired.

To Reproduce
Steps to reproduce the behavior:

  1. Make some changes to any dotfiles (in your HOME dir)
  2. Run dotman
  3. Choose option 2 to push files upstream
  4. When in Enter Commit Message, hit Ctrl+c
  5. cd to your dotfiles repo & see committed changes

Expected behavior
No changes to the repo should be done until the user enters the commit msg & hits Ctrl+d

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions