Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
courses
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nene Barry
courses
Commits
b5b1ba7d
Verified
Commit
b5b1ba7d
authored
3 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
sarah's comments - thx
parent
2c2c4f0a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
2021/2021-03-18_basicGitTraining/slides/configuration.md
+1
-1
1 addition, 1 deletion
2021/2021-03-18_basicGitTraining/slides/configuration.md
2021/2021-03-18_basicGitTraining/slides/the_terminal.md
+8
-3
8 additions, 3 deletions
2021/2021-03-18_basicGitTraining/slides/the_terminal.md
with
9 additions
and
4 deletions
2021/2021-03-18_basicGitTraining/slides/configuration.md
+
1
−
1
View file @
b5b1ba7d
...
@@ -38,7 +38,7 @@ If there are 2 files named `id_rsa`, you have an SSH key.
...
@@ -38,7 +38,7 @@ If there are 2 files named `id_rsa`, you have an SSH key.
If you don’t have yet an SSH key, you have to generate one:
If you don’t have yet an SSH key, you have to generate one:
```
bash
```
bash
$
ssh-keygen
-t
rsa
#
-b 4096
$
ssh-keygen
-t
rsa
-b
4096
```
```
If you set a password to your key (recommended), add it to the
`ssh-agent`
:
If you set a password to your key (recommended), add it to the
`ssh-agent`
:
...
...
This diff is collapsed.
Click to expand it.
2021/2021-03-18_basicGitTraining/slides/the_terminal.md
+
8
−
3
View file @
b5b1ba7d
...
@@ -28,7 +28,12 @@ $ git --version
...
@@ -28,7 +28,12 @@ $ git --version
List the contents of a directory
List the contents of a directory
```
bash
```
bash
$
ls
#-lash
$
ls
```
You can list more details with:
```
bash
$
ls
-lah
```
```
Create a directory
Create a directory
...
@@ -36,6 +41,8 @@ Create a directory
...
@@ -36,6 +41,8 @@ Create a directory
$
mkdir
myNewDirectory
$
mkdir
myNewDirectory
```
```
Change the directory to a specific folder
Change the directory to a specific folder
```
bash
```
bash
$
cd
myNewDirectory
$
cd
myNewDirectory
...
@@ -50,8 +57,6 @@ $ cd ../..
...
@@ -50,8 +57,6 @@ $ cd ../..
# 2 levels up
# 2 levels up
```
```
Move a file or a directory
Move a file or a directory
```
bash
```
bash
$
mv
myFile.m myNewDirectory/.
$
mv
myFile.m myNewDirectory/.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment