Aziz

Information Security Engineer, Intested on Video Games, Anime

  1. Posts
  2. About Me
  3. Archives
  4. Search
  5. Thoughts
    1. Dark Mode

Table of contents

  1. Today I Learned Git Submodule

Today I Learned - Git Submodules

Git inside Git

Mar 04, 2025
1 minute read

Today I Learned Git Submodule

keeping it simple,

  • make new directory with mkdir.
  • git init . or git init --bare .
  • add some content or files
  • git submodule add <git_repo>
  • git submodule init
  • git submodule update
  • git submodule update --init --recursive
  • git submodule status

Reference
https://www.andrewhoog.com/post/git-submodule-for-hugo-themes/

© 2018 - 2025 Aziz