mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 04:50:30 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View existing submodules, and the checked-out commit for each one:
|
||||
|
||||
`git submodule status`
|
||||
`git submodule`
|
||||
|
||||
- Install a repository's submodules (listed in `.gitmodules`):
|
||||
|
||||
@@ -24,9 +24,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git submodule add {{repository_url}} {{path/to/directory}}`
|
||||
|
||||
- Update every submodule to its latest commit:
|
||||
- Update submodules to their latest commits:
|
||||
|
||||
`git submodule update --init --recursive --remote`
|
||||
`git submodule update --remote`
|
||||
|
||||
- Change the URL of a submodule:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user