15
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

http経由のgitを使うときユーザ名、パスワードの入力を省く

Last updated at Posted at 2015-10-11

Macだと最初からパスワードの入力を省いてくれるので便利だったが、
ubuntuでは最初からは対応してなかったので調査した。

設定方法

設定
# 3600: 1時間
git config --global credential.helper 'cache --timeout=3600'
git config --global credential.helper cache
~/.gitconfig
[credential]
	helper = cache

なお、他の人がログインできる共用マシンには仕込まないほうが良い。

15
16
1

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
15
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?