Git stdin is not a tty

When i push to get respo, i get error

Other than this error on push and pull, everything worked fine.

SOLUTION 1

Add following to top of file /home/git/.bashrc

Modified .bashrc on my server

SOLUTION 2

The problem is fixed by

This is caused on cpanel servers (i have installed gitosis on a cpanel less server a day before and it worked with out any error, this server have cpanel dns only installed.) as cpanel adds

in file /etc/bashrc

It also adds

i replace it with following as i prefer vi

See Git

Add a Comment

Your email address will not be published. Required fields are marked *