Git Submodule update over https

  1. Edit your .gitmodules file to use the HTTPS URL.
  2. Run git submodule sync to reflect the change to your .git/config file.
  3. Run the update command again.
  4. Commit and push the changes in your .gitmodules file.

Example .gitmodules file:

[submodule "vendor/engines/fat_free_crm"]
    path = vendor/engines/fat_free_crm
    url = https://github.com/fatfreecrm/fat_free_crm.git

Credits: https://stackoverflow.com/a/6632693/1273077

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)