1
0

はじめに

毎回git push時にユーザー名とパスワードを入力するのが手間なので省略しています。

やり方

.git/configファイルのurlで@の前にusername:passwordを加えるだけです。

.git/config
[remote "origin"]
	url = https://username:password@gitlab-hogehoge.git

おわりに

入力を省略してパスワードを忘れないように気を付けましょう!

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