View Single Post
Old 13th January 2020, 22:04   #6  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Jamaika View Post
Thanks for the answers. I thought it was much simpler. It seems simple but I'm too stupid. Git module doesn't want to work.
Just follow the instructions in the second link I provided. To sum it up once again:

In order to add a sub-module to your Git repository, use the command "git submodule add <submodule_url> <directory>" (for example: "git submodule add https://code.videolan.org/videolan/x264.git libs/x264").

This will add the sub-module and create a file called ".gitmodules", if it does not exist yet. You normally do not create this file manually or edit it directly.

Once the sub-module has been added, the ".gitmodules" file and the new directory can be committed just like any other file. And, as always, your changes won't appear on the remote server (e.g. Github) until you push them!

That's it
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 13th January 2020 at 22:17.
LoRd_MuldeR is offline   Reply With Quote