Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to specify --recurse-submodules strategy in SmartGit for git fetch

SmartGit is explicitly using the submodule update strategy no. How can I overwrite it to use the strategy on-demand?

Executed command by SmartGit: git.exe fetch --progress --prune --recurse-submodules=no origin

I tried to overwrite the fetch command with an alias: git config --global alias.fetch 'git fetch --recurse-submodules=on-demand'

I see no changes in SmartGit's log window.

like image 383
Paebbels Avatar asked Jun 09 '17 10:06

Paebbels


1 Answers

As of SmartGit 17, it's not possible to change --recurse-submodules= strategy. However, in the Repository|Settings, on Pull tab, you can configure to Always fetch new commits, tags and branches from submodule.

like image 64
mstrap Avatar answered Nov 15 '22 01:11

mstrap