Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
courses
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TheAlternative
courses
Commits
c699d852
Commit
c699d852
authored
Jan 12, 2020
by
Florian Moser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add slides
parent
465d9781
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
67 additions
and
46 deletions
+67
-46
git_gitlab_course/boilerplate-single.html
git_gitlab_course/boilerplate-single.html
+52
-46
git_gitlab_course/images/github_add_repository.jpg
git_gitlab_course/images/github_add_repository.jpg
+3
-0
git_gitlab_course/images/github_pull_pending.jpg
git_gitlab_course/images/github_pull_pending.jpg
+3
-0
git_gitlab_course/images/gitlab_add_license.jpg
git_gitlab_course/images/gitlab_add_license.jpg
+3
-0
git_gitlab_course/images/gitlab_add_readme.jpg
git_gitlab_course/images/gitlab_add_readme.jpg
+3
-0
git_gitlab_course/images/gitlab_local_setup_account.jpg
git_gitlab_course/images/gitlab_local_setup_account.jpg
+3
-0
git_gitlab_course/images/gitlab_local_setup_repository.jpg
git_gitlab_course/images/gitlab_local_setup_repository.jpg
+0
-0
git_gitlab_course/images/xkcd_git.png
git_gitlab_course/images/xkcd_git.png
+0
-0
No files found.
git_gitlab_course/boilerplate-single.html
View file @
c699d852
...
...
@@ -4,16 +4,12 @@
<title>My Awesome Presentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body { font-family: 'Droid Serif'; }
body { font-family: sans-serif; }
h1, h2, h3 {
font-family:
'Yanone Kaffeesatz'
;
font-family:
serif
;
font-weight: normal;
}
.remark-code, .remark-inline-code { font-family:
'Ubuntu Mono'
; }
.remark-code, .remark-inline-code { font-family:
monospace
; }
</style>
</head>
<body onload="var slideshow = remark.create();">
...
...
@@ -136,93 +132,103 @@ Date: Sun Jan 12 12:20:28 2020 +0100
---
#
Agenda
#
Login to gitlab
1. Introduction
2. Deep-dive
3. ...
create an account if you have none
[NOTE]: This file is portable; you don't need any other file, or an internet connection for this presentation.
---
#
Introduction
#
Create a gitlab project (1/2)
<img src="images/gitlab_create_new_project.jpg" width="100%">
---
#
login to gitlab
#
Create a gitlab project (2/2)
- create an account if you have none
<img src="images/gitlab_create_new_project_2.jpg" width="100%">
---
# create a gitlab project
# Finish setup gitlab
create a password in the settings
use an SSH key (optional)
<img src="images/gitlab_project_created.jpg" width="100%">
[images/gitlab_create_new_project.jpg]
[images/gitlab_create_new_project2.jpg]
---
#
finish setup gitlab
#
Finish local setup
[images/gitlab_project_created.jpg]
<img src="images/gitlab_local_setup_account.jpg" width="100%">
<img src="images/gitlab_local_setup_repository.jpg" width="100%">
- create a password in the settings
- use an SSH key (optional)
(skip the `git init`, `git add .` and `git commit -m "Initial commit` steps)
---
#
finish local setup
#
Add a readme
[images/gitlab_local_setup.jpg]
eplain your project
for other and your future self
---
<img src="images/gitlab_add_readme.jpg" width="100%">
# add Readme & License
---
[images/gitlab_first_push.jpg]
# Add a license
---
everything you write has Copyright
Copyright gives you exclusive rights (no one can use it without permission)
# What is a readme
use a license to define permissions for others
MIT to allow usage without restrictions
GPL to allow usage if basic freedom granted to users
(many others)
- Explains your project
- For your future self and others
<img src="images/gitlab_add_license.jpg" width="100%">
---
# What is a license
# Install github desktop
download from https://desktop.github.com/
open your repository folder
- everything you write has Copyright
- Copyright gives you exclusive rights (so no one else may use it)
- use a license to soften up this
- use MIT to allow usage without restrictions
- use GPL to allow usage if freedom granted to users
<img src="images/github_add_repository.jpg" width="100%">
---
# install github desktop
# Pull changes
download the changes made on gitlab
- download from https://desktop.github.com/
- open your repository folder
<img src="images/github_pull_pending.jpg" width="100%">
---
#
c
ommit changes
#
C
ommit changes
[images/github_changes.jpg]
change your local file
preview the changes and then commit
<img src="images/github_changes.jpg" width="100%">
---
# push changes
# Push changes
push the changes
[images/github_push_pending.jpg]
<img src="images/github_push_pending.jpg" width="100%">
---
#
v
iew history
#
V
iew history
[images/github_history.jpg]
<img src="images/github_history.jpg" width="100%">
---
git_gitlab_course/images/github_add_repository.jpg
0 → 100644
LFS
View file @
c699d852
131 Bytes
git_gitlab_course/images/github_pull_pending.jpg
0 → 100644
LFS
View file @
c699d852
131 Bytes
git_gitlab_course/images/gitlab_add_license.jpg
0 → 100644
LFS
View file @
c699d852
131 Bytes
git_gitlab_course/images/gitlab_add_readme.jpg
0 → 100644
LFS
View file @
c699d852
131 Bytes
git_gitlab_course/images/gitlab_local_setup_account.jpg
0 → 100644
LFS
View file @
c699d852
130 Bytes
git_gitlab_course/images/gitlab_local_setup.jpg
→
git_gitlab_course/images/gitlab_local_setup
_repository
.jpg
LFS
View file @
c699d852
File moved
git_gitlab_course/images/xkcd_git.png
LFS
View replaced file @
465d9781
View file @
c699d852
47.6 KB
|
W:
|
H:
130 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
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