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

質問編集履歴

1

git add .

2020/12/25 08:51

投稿

ykkk
ykkk

スコア91

title CHANGED
File without changes
body CHANGED
@@ -13,13 +13,18 @@
13
13
  そこで下記を実行
14
14
 
15
15
  git init
16
- git add README.md
16
+ git add .
17
17
  git commit -m "first commit"
18
18
  git branch -M main
19
19
  git remote add origin git@github.com:●●/●●.git
20
20
  git push -u origin main
21
21
 
22
- すると下記エラーがでる。
22
+ git add .すると下記エラーがでる。
23
+ warning: LF will be replaced by CRLF in app/README.md.
24
+ The file will have its original line endings in your working directory
25
+
26
+
27
+ git push -u origin mainすると下記エラーがでる。
23
28
  remote: Repository not found.
24
29
  fatal: repository 'https://github.com/●●/●●.git/' not found
25
30