wiki/notebook/tools.git.org
Gabriel Arazas 110ec318e0 Update notebook as of 2021-11-06
- Some updates to pacman as I'm going to trying to use Open Build
Service which apparently has support for publishing Arch Linux packages.
Pretty nice!

- Starting to take more notes for Git as I use it beyond the simple
commit and push workflow. I mostly use it to create patches for
packaging other applications.

- Updates for Drawabox.
2021-11-06 12:06:25 +08:00

616 B

Git

The de-facto version control system.

Submodules

  • one way to vendor dependencies or use another project within the worktree
  • Git will inspect .gitmodules as the submodule configuration file; while it is plain-text, it is mostly managed with the git submodule subcommand
  • to clone an existing project that uses submodules, you can add the --recursive flag on the git fetch subcommand; if it's already clone, you can proceed as normal (e.g., git submodule init && git submodule update)