Git Operations
Create New Repo
-
Initialize remote
Repos reside on the Synology drive in a "Shared Folder" at
/volume1/git. -
Make new repo
-
Rename main branch
Remotes
Formats
git remote add gitea ssh://[email protected]:222/john/smarthome_docs.git
Change remote URL
Submodules
Move submodule within repo
https://stackoverflow.com/a/6310246