cred-alert icon indicating copy to clipboard operation
cred-alert copied to clipboard

cred-alert-cli update command broke git

Open kdvolder opened this issue 5 years ago • 1 comments

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.

kdvolder avatar Aug 27 '19 21:08 kdvolder

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.

cf-gitbot avatar Aug 27 '19 21:08 cf-gitbot