1
2

More than 1 year has passed since last update.

.netrcを使ってログインを楽にする方法

Posted at

.netrcとは?

自動ログインプロセスで使われる ログイン情報と初期化情報が記載されているファイル

IDやパスワードの入力を省略することができる。

保存場所

ホームディレクトリに保存されている。

.netrcを作成

vi ~/.netrc

設定の記述

フォーマット

machine <git server domain> // 接続先URL
login <your gitbucket user name>
password <your gitbucket password>

設定例

machine sample.com
login yamada.taro
password password
1
2
0

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
1
2