teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

httpsでのgit clone を追記

2018/07/03 01:04

投稿

TeeTeeRuu
TeeTeeRuu

スコア48

answer CHANGED
@@ -4,8 +4,11 @@
4
4
  パスワード認証は、
5
5
  https://gitlab.hoge.huge/piyo/repository-test.git
6
6
  でしか使えません。
7
- CentOS 6のデフォルトのGit 1.7.1は古いのでhttps認証はうまくいかなかったような気がします
7
+ CentOS 6のデフォルトのGit 1.7.1は古いのでhttps認証はうまくいかなかったような気がします
8
8
 
9
+ パスワード認証したい場合は、以下のようにCloneしましょう。
10
+ git clone https://gitlab.hoge.huge/piyo/repository-test.git
11
+
9
12
  この辺見てください。
10
13
  authentication - Git push requires username and password - Stack Overflow
11
14
  https://stackoverflow.com/questions/6565357/git-push-requires-username-and-password