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

Add test for prevent_bad_push hook [Resolves Issue #27] #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

a7r3
Copy link

@a7r3 a7r3 commented Oct 29, 2019

  • Add a test which makes a dummy WIP commit
    With the hook enabled, the git push command should return a status code "1"
    If it's so, the test passes

  • After work's done, reset the tree a commit behind (the dummy commit will be removed)

Signed-off-by: Arvindraj arvindultimate7352@gmail.com

@a7r3 a7r3 changed the title Add test for prevent_bad_push hook [Resolves #27] Add test for prevent_bad_push hook [Resolves https://github.com/CompSciLauren/awesome-git-hooks/issues/27] Oct 29, 2019
@a7r3 a7r3 changed the title Add test for prevent_bad_push hook [Resolves https://github.com/CompSciLauren/awesome-git-hooks/issues/27] Add test for prevent_bad_push hook [Resolves Issue #27] Oct 29, 2019
* Add a test which makes a dummy WIP commit
  With the hook enabled, the git push command should return a status code "1"
  If it's so, the test passes

* After work's done, reset the tree a commit behind (the dummy commit will be removed)

Signed-off-by: Arvindraj <arvindultimate7352@gmail.com>
…mand

* If all commands run properly, the test would return success

Signed-off-by: Arvindraj <arvindultimate7352@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant