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

cred-alert-cli update command broke git #19

Open
kdvolder opened this issue Aug 27, 2019 · 1 comment
Open

cred-alert-cli update command broke git #19

kdvolder opened this issue Aug 27, 2019 · 1 comment

Comments

@kdvolder
Copy link

I was trying to commit some code. cred-alert hook told me the version I have is old and I should run some update command.

I ran the command, then it turns out the command failed because it doesn't have write permission to folders where it is installed.

So I run it with 'sudo' instead. This seemed to work and downloaded and installed something.

Next I try to git commit the stuff I had started to commit before. This did not work, I didn't get any error messages, but it seems like git commit just silently exits without doing anything.

I assumed the problem must be cred-alert git hooks are broken.

So... I disable the githook by running these commands:

cd ~/git/pivotal-cf
mv git-hooks-core/ git-hooks-core-DISABLED

Next time I try 'git commit' everything works fine. So my conclusion is that indeed running cred-alert-cli update broke my git setup.

@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants