Next.js Discord

Discord Forum

When using Husky's pre-push feature, I can't push my code to Github repo via command.

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
Everyone!
I have some issues pushing my code to github repo.
This is Husky's pre-push command that runs before pushing my code.

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn build


I can't push code using command.
So I used push function of vscode editor to push code.
But I get same error like this whenever I use command.

stdin is not a tty
husky - pre-push hook exited with code 1 (error)
error: failed to push some refs to https://github.com/Gods-of-love/pro-config.git


How to solve it?
This is my github repo url:
https://github.com/Gods-of-love/pro-config

I'm looking forward to hearing from you.

0 Replies