mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 04:58:21 +00:00
110ec318e0
- 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.
19 lines
616 B
Org Mode
19 lines
616 B
Org Mode
#+title: Git
|
|
#+date: 2021-08-27 22:10:45 +08:00
|
|
#+date_modified: 2021-08-28 16:27:45 +08:00
|
|
#+language: en
|
|
|
|
|
|
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~)
|