Archive for the ‘git’ Category

gitで新規作成ファイルがstatusに上がってこない問題を解決

ファイルを変更したものはgit statusに上がってくるが 新規作成したものは出てこない。なのでaddもできない。 .gitignoreでもそんなことしていないし、原因を探すのに苦労した。 原因は上位ディレクトリの.g […]

Read the rest of this entry »

git サブモジュールメモ

gitのサブモジュールを追加 自分の管理しているgitプロジェクトの内部に プラグインなどとして別のgitプロジェクトを追加したい場合は サブモジュールとして入れる。 プロジェクトルートで下記。 git submodul […]

Read the rest of this entry »

git submoduleを最新にする

git submodule update をやって最新にしてたつもりだったのに 実際にはなっていなかった。 submoduleを最新にするには 下記が必要みたい。 git submodule status git sub […]

Read the rest of this entry »