LoginSignup
0

More than 5 years have passed since last update.

【Git】「Gtk-WARNING **: ~~」と言われ、Pushできない時

Posted at

Gitを使用していると、突然 Gtk-WARNING **: cannot open display: と言われ、
Pushできなくなることがあるため、対応方法をメモ

環境

  • CentOS 6.9
  • Git 1.7.1

結論

Pushする前に unset SSH_ASKPASS をすれば良い

$ unset SSH_ASKPASS
$ git push -u origin master

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0