LoginSignup
0
0

More than 3 years have passed since last update.

今日gitでしくったこと: Initialized empty Git repository, warning: adding embedded git repository

Last updated at Posted at 2018-11-22

Initialized empty Git repository

$ git config --global user.name "kaizen_nagoya"
$ git config --global user.email "kaizen@wh.commufa.jp"
$ git init
Initialized empty Git repository in /Users/ogawakiyoshi/Documents/opton/bin/.git/

warning: adding embedded git repository

$ git add *
warning: adding embedded git repository: プログラムのソース/コンパイラ画面/バックアップ用データ/WindowsFormsApplication2 - コピー (4)/機能追加/closedxml/sourceCode/closedxml
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint: 
hint:   git submodule add <url> プログラムのソース/コンパイラ画面/バックアップ用データ/WindowsFormsApplication2 - コピー (4)/機能追加/closedxml/sourceCode/closedxml
hint: 
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint: 
hint:   git rm --cached プログラムのソース/コンパイラ画面/バックアップ用データ/WindowsFormsApplication2 - コピー (4)/機能追加/closedxml/sourceCode/closedxml
hint: 
hint: See "git help submodule" for more information.

参考資料(reference)

Git/GitHubレベル別オススメ学習サイトまとめ完全保存版【2018.12】
https://qiita.com/think-a-lot/items/b3c2e9060f46f5d4ea46

よく使うGitコマンド一覧
https://qiita.com/think-a-lot/items/9c185fe41fca269ae0b0

Gitコマンド 最速 実践練習フロー【2018.11】
https://qiita.com/think-a-lot/items/817079a952b5f145dbc7

文書履歴(document history)

ver. 0.01 初稿 20181122
ver. 0.02 追記 20190206
ver. 0.03 みだし等追記 20191226

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