Skip to content

sreegithub19/programming_languages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contents

Docker_in_Windows

Reference :

#################################################################################

Git_submodules

  1. To add a git repo as submodule in another repo (in that specific folder): git submodule add https://github.com/sreegithub19/vuejs_training.git git submodule add https://github.com/sreegithub19/vercel_flask_app.git git submodule add https://github.com/sreegithub19/vercel_django_example.git git submodule add https://github.com/sreegithub19/express_vercel_app.git git submodule add https://github.com/sreegithub19/vue_project.git git submodule add https://github.com/sreegithub19/JavaScript-Applications.git
  1. To update all the submodules according to the latest remote repo changes: git submodule update --init --recursive git submodule update --recursive

  2. To fetch the all the submodules according to the latest remote repo changes: git pull --recurse-submodules

  3. Most important commands: git submodule add <git_repo_link> (in that specific folder - when adding the module for the first time) git submodule update --init --force --remote (in the main folder) git submodule add -b --name --url -eg: git submodule add -b main https://github.com/sreegithub19/my_angular_app.git javascript/angular_/my_angular_app_main

To remove a submodule:

  • Delete the relevant section from the .gitmodules file.
  • git add .gitmodules
  • git rm --cached (no trailing slash).
  • rm -rf .git/modules/<path_to_submodule>
  • git commit -m "Removed submodule "
  • rm -rf <path_to_submodule>
  1. Steps: (i) git pull origin main (ii) git submodule update --init --force --remote (iii) git add . (iv) git commit -m "Message" (v) git push origin main

(All in one step) :
Mac: git add . && git commit -m "Message" && git push origin main git pull origin main && git submodule update --init --force --remote && git add . && git commit -m "Message" && git push origin main Windows: git add . ; git commit -m "Message" ; git push origin main git pull origin main ; git submodule update --init --force --remote ; git add . ; git commit -m "Message" ; git push origin main

Windows long file name issue:

  1. Execute this command in Powershell (run as Administrator): git config --system core.longpaths true

================================================================

Miscellaneous_links

  1. Youtube Channel content (in "Projects" playlist): https://studio.youtube.com/channel/UC-RGFZerA05PxdPGCBV9RTw/videos/upload?filter=%5B%5D&sort=%7B%22columnType%22%3A%22date%22%2C%22sortOrder%22%3A%22DESCENDING%22%7D

  2. Video compressor: (10MB video size limit to upload videos directly onto Github) https://www.freeconvert.com/video-compressor

  3. Video splitter: https://split-video.com/