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
a6b682c0
Verified
Commit
a6b682c0
authored
4 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
merged slides for github and forks
parent
16044a99
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/forks.md
+8
-4
8 additions, 4 deletions
2021/2021-03-18_basicGitTraining/slides/forks.md
2021/2021-03-18_basicGitTraining/slides/github_gitlab.md
+1
-1
1 addition, 1 deletion
2021/2021-03-18_basicGitTraining/slides/github_gitlab.md
with
9 additions
and
5 deletions
2021/2021-03-18_basicGitTraining/slides/forks.md
+
8
−
4
View file @
a6b682c0
...
@@ -38,7 +38,7 @@ Browse to the original repository and click on the button `Fork`:
...
@@ -38,7 +38,7 @@ Browse to the original repository and click on the button `Fork`:
# Time to practice!
# Time to practice!
Fork the practice repository:
<br><br>
Fork the practice repository:
<br><br>
https://git
-r3lab.uni.lu/R3/school/git
/basic-practice
-pages
<br><br>
https://git
hub.com/LCSB-BioCore
/basic-
git-
practice
<br><br>
Then, clone your fork to your home directory!
Then, clone your fork to your home directory!
...
@@ -46,15 +46,20 @@ Then, clone your fork to your home directory!
...
@@ -46,15 +46,20 @@ Then, clone your fork to your home directory!
<img
src=
"slides/img/icon-live-demo.png"
height=
"100px"
>
<img
src=
"slides/img/icon-live-demo.png"
height=
"100px"
>
```
bash
```
bash
$
git clone
ssh://
git@git
-r3lab-server.uni.lu:8022/
<yourName>/basic-practice
-pages
.git
$
$
git clone git@git
hub.com:
<yourName>/basic-
git-
practice.git
```
```
Change to the practice directory with:
Change to the practice directory with:
```
bash
```
bash
$
cd
basic-practice
-pages
$
cd
basic-
git-
practice
```
```
<img
src=
"slides/img/icon-live-demo.png"
height=
"100px"
>
If you did not configure your SSH key, clone using HTTPS:
```
bash
$
git clone https://github.com/<yourName>/basic-git-practice.git
```
# A note on shortcuts ...
# A note on shortcuts ...
...
@@ -79,4 +84,3 @@ As you have your own fork, it will not automatically be updated once the origina
...
@@ -79,4 +84,3 @@ As you have your own fork, it will not automatically be updated once the origina
<br>
<br>
**More on that later!**
**More on that later!**
This diff is collapsed.
Click to expand it.
2021/2021-03-18_basicGitTraining/slides/github_gitlab.md
+
1
−
1
View file @
a6b682c0
...
@@ -15,4 +15,4 @@ Positive point: GitHub and GitLab are (almost) the same.
...
@@ -15,4 +15,4 @@ Positive point: GitHub and GitLab are (almost) the same.
-
**GitHub**
:
[
https://github.com
](
https://github.com
)
-
**GitHub**
:
[
https://github.com
](
https://github.com
)
-
Public GitLab:
[
https://gitlab.com
](
https://gitlab.com
)
-
Public GitLab:
[
https://gitlab.com
](
https://gitlab.com
)
-
LCSB specific:
[
https://git-r3lab.uni.lu
](
https://git-r3lab.uni.lu
)
-
LCSB specific:
[
https://git-r3lab.uni.lu
](
https://git-r3lab.uni.lu
)
\ No newline at end of file
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