Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed git state when user cancels operation #16

Open
Bhupesh-V opened this issue Oct 23, 2020 · 0 comments
Open

changed git state when user cancels operation #16

Bhupesh-V opened this issue Oct 23, 2020 · 0 comments
Labels
bug Something isn't working priority Do this first up-for-grabs

Comments

@Bhupesh-V
Copy link
Owner

Bhupesh-V commented Oct 23, 2020

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

@Bhupesh-V Bhupesh-V added the bug Something isn't working label Oct 23, 2020
@Bhupesh-V Bhupesh-V pinned this issue Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority Do this first up-for-grabs
Projects
None yet
Development

No branches or pull requests

1 participant