0
0

More than 1 year has passed since last update.

二箇所でsubmoduleのあるブランチを開発

Last updated at Posted at 2022-01-04

二箇所でsubmoduleを使ったブランチを開発する手順です。

submoduleを使っているのでリカーシブでcloneします。

% git clone --recursive git@github.com:yamori813/rtlbm-mruby.git

サブモジュールを本家の最新にしてpushします。

% git submodule foreach git pull origin master
% git commit -m "update" mruby
% git push

別の所ですでにcloneしてあったものを同じにします。

% git submodule update

submodule.png

他も変更がある場合はpullします。

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