Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vilem Ded
courses
Commits
b5b1ba7d
Verified
Commit
b5b1ba7d
authored
Mar 18, 2021
by
Laurent Heirendt
✈
Browse files
sarah's comments - thx
parent
2c2c4f0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
2021/2021-03-18_basicGitTraining/slides/configuration.md
View file @
b5b1ba7d
...
...
@@ -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:
```
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`
:
...
...
2021/2021-03-18_basicGitTraining/slides/the_terminal.md
View file @
b5b1ba7d
...
...
@@ -28,7 +28,12 @@ $ git --version
List the contents of a directory
```
bash
$
ls
#-lash
$
ls
```
You can list more details with:
```
bash
$
ls
-lah
```
Create a directory
...
...
@@ -36,6 +41,8 @@ Create a directory
$
mkdir
myNewDirectory
```
Change the directory to a specific folder
```
bash
$
cd
myNewDirectory
...
...
@@ -50,8 +57,6 @@ $ cd ../..
# 2 levels up
```
Move a file or a directory
```
bash
$
mv
myFile.m myNewDirectory/.
...
...
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