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

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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