######################### git コマンドメモ ######################### :small:`created at 2019-08-26 16:39+0900` ************************* index ************************* まだ1回もコミットしていない場合に、indexから取り除く .. code-block:: bash git ls-files | xargs -J % git rm --cached % unstage .. code-block:: bash git restore --staged ************************* リモート ************************* 登録したリモートURLを見る .. code-block:: bash git remote -v リモートリポジトリを追加する。(ローカルのリポジトリとリモートのリポジトリを紐付ける) .. code-block:: bash git remote add リモートリポジトリを削除する。(ローカルリポジトリとリモートリポジトリの紐付けを切る) .. code-block:: bash git remote remove