Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Courses
Git
Advanced Git
Commits
8681848f
Commit
8681848f
authored
Feb 24, 2022
by
Ferdinando Carbone
Browse files
Correzione alcune frasi
parent
aae0fb3e
Pipeline
#1281
passed with stage
in 1 minute and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
slides/content.md
View file @
8681848f
...
...
@@ -23,7 +23,7 @@
---
## Submodule: What ca
t
it do?
## Submodule: What ca
n
it do?
A submodule will appear as a subdirectory of our own repository.
<!-- .element: class="fragment" -->
...
...
@@ -31,7 +31,7 @@ Cloning a repository that contains a submodule will not clone it. <!-- .element:
---
## Submodule: What
it
can do?
## Submodule: What can
it
do?
Once created the sumodule will point always to the same commit.
<!-- .element: class="fragment" -->
...
...
@@ -47,7 +47,7 @@ Every edit we make inside our submodule will not be pushed upstream. <!-- .eleme
git submodule add
[
-b
branch_name] repository submodule_directory
```
#### Pull the files insidea submodule
#### Pull the files inside
a submodule
```
bash
git submodule update
--init
--recursive
submodule_directory
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment