Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
0ac52769
Commit
0ac52769
authored
Sep 27, 2016
by
Sean Packham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve merge request comments
parent
ce881513
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
35 deletions
+27
-35
doc/university/process/README.md
doc/university/process/README.md
+3
-6
doc/university/sales/index.html.md
doc/university/sales/index.html.md
+0
-5
doc/university/support/README.md
doc/university/support/README.md
+3
-3
doc/university/training/end-user/README.md
doc/university/training/end-user/README.md
+21
-21
No files found.
doc/university/process/
index.html
.md
→
doc/university/process/
README
.md
View file @
0ac52769
...
@@ -13,21 +13,18 @@ please submit a merge request to add an upcoming class, assign to
...
@@ -13,21 +13,18 @@ please submit a merge request to add an upcoming class, assign to
## Adding classes
## Adding classes
1.
All training materials of any kind should be added to
[
the university repo
](
https://gitlab.com/gitlab-org/University
)
1.
All training materials of any kind should be added to
[
GitLab CE
](
https://gitlab.com/gitlab-org/gitlab-ce/
)
to ensure they are available to a broad audience (don't use any other repo or
to ensure they are available to a broad audience (don't use any other repo or
storage for training materials).
storage for training materials).
1.
Please link any new materials from the main
`university.gitlab.com`
page
1.
Don't make materials that are needlessly specific to one group of people, try
1.
Don't make materials that are needlessly specific to one group of people, try
to keep the wording broad and inclusive (don't make things for only GitLab Inc.
to keep the wording broad and inclusive (don't make things for only GitLab Inc.
people, only interns, only customers, etc.).
people, only interns, only customers, etc.).
1.
To allow people to contribute all content should be in git.
1.
To allow people to contribute all content should be in git.
1.
The content can go in a subdirectory under
`/
source
/`
.
1.
The content can go in a subdirectory under
`/
doc/university
/`
.
1.
To make, view or modify the slides of the classes use
[
Deckset
](
http://www.decksetapp.com/
)
1.
To make, view or modify the slides of the classes use
[
Deckset
](
http://www.decksetapp.com/
)
or
[
RevealJS
](
http://lab.hakim.se/reveal-js/
)
. Do not use Powerpoint or Google
or
[
RevealJS
](
http://lab.hakim.se/reveal-js/
)
. Do not use Powerpoint or Google
Slides since this prevents everyone from contributing.
Slides since this prevents everyone from contributing.
1.
Please upload any video recordings to our Youtube channel. We prefer them to
1.
Please upload any video recordings to our Youtube channel. We prefer them to
be public, if needed they can be unlisted but if so they should be linked from
be public, if needed they can be unlisted but if so they should be linked from
this page.
this page.
1.
Please create a merge request and assign to
[
Job
](
https://gitlab.com/u/JobV
)
.
1.
Please create a merge request and assign to
[
SeanPackham
](
https://gitlab.com/u/SeanPackham
)
.
[
» Back
](
../
)
doc/university/sales/index.html.md
deleted
100644 → 0
View file @
ce881513
---
title
:
University | Sales Path
---
This page has been removed; please review the
[
Sales onboarding
](
https://about.gitlab.com/handbook/sales-onboarding
)
page instead.
doc/university/support/README.md
View file @
0ac52769
...
@@ -8,13 +8,13 @@ The goal of this boot camp is to have every Service Engineer prepared to help ou
...
@@ -8,13 +8,13 @@ The goal of this boot camp is to have every Service Engineer prepared to help ou
with whatever needs they might have and to also assist our awesome community with their
with whatever needs they might have and to also assist our awesome community with their
questions.
questions.
Always start with the
[
University Overview
](
/
)
and then work
Always start with the
[
University Overview
](
..
/
)
and then work
your way here for more advanced and specific training. Once you feel comfortable
your way here for more advanced and specific training. Once you feel comfortable
with the topics of the current stage, move to the next.
with the topics of the current stage, move to the next.
### Stage 1
### Stage 1
Follow the topics on the
[
University Overview
](
/
)
, concentrate on it
Follow the topics on the
[
University Overview
](
..
/
)
, concentrate on it
during your first Stage, but also:
during your first Stage, but also:
-
Perform the
[
first steps
](
https://about.gitlab.com/handbook/support/onboarding/#first-steps
)
of
-
Perform the
[
first steps
](
https://about.gitlab.com/handbook/support/onboarding/#first-steps
)
of
...
@@ -26,7 +26,7 @@ Aim to have a good overview of the Product and main features, Git and the Compan
...
@@ -26,7 +26,7 @@ Aim to have a good overview of the Product and main features, Git and the Compan
### Stage 2
### Stage 2
Continue to look over remaining portions of the
[
University Overview
](
/help/university
)
and continue on to these topics:
Continue to look over remaining portions of the
[
University Overview
](
../
)
and continue on to these topics:
#### Set up your development machine
#### Set up your development machine
...
...
doc/university/training/end-user/README.md
View file @
0ac52769
...
@@ -44,7 +44,7 @@ project.
...
@@ -44,7 +44,7 @@ project.
### Getting Help
### Getting Help
-
Use the tools at your disposal when you get stuck.
-
Use the tools at your disposal when you get stuck.
-
Use
'git help
<command>
'
command
-
Use
`git help <command>`
command
-
Use Google (i.e. StackOverflow, Google groups)
-
Use Google (i.e. StackOverflow, Google groups)
-
Read documentation at https://git-scm.com
-
Read documentation at https://git-scm.com
...
@@ -59,30 +59,30 @@ Workshop Time!
...
@@ -59,30 +59,30 @@ Workshop Time!
-
Windows: Install 'Git for Windows'
-
Windows: Install 'Git for Windows'
-
https://git-for-windows.github.io
-
https://git-for-windows.github.io
-
Mac: Type
'git'
in the Terminal application.
-
Mac: Type
`git`
in the Terminal application.
-
If it's not installed, it will prompt you to install it.
-
If it's not installed, it will prompt you to install it.
-
Linux
-
Linux
-
Debian:
'sudo apt-get install git-all'
-
Debian:
`sudo apt-get install git-all`
-
Red Hat
'sudo yum install git-all'
-
Red Hat
`sudo yum install git-all`
---
---
### Configure
### Configure
-
One-time configuration of the Git client
-
One-time configuration of the Git client
:
~~~
bash
```
bash
git config
--global
user.name
"Your Name"
git config
--global
user.name
"Your Name"
git config
--global
user.email you@example.com
git config
--global
user.email you@example.com
~~~
```
-
If you don't use the global flag you can setup a different author for
-
If you don't use the global flag you can setup a different author for
each project
each project
-
Check settings with
-
Check settings with
:
~~~
bash
```
bash
git config
--global
--list
git config
--global
--list
~~~
```
-
You might want or be required to use an SSH key.
-
You might want or be required to use an SSH key.
-
Instructions:
[
SSH
](
http://doc.gitlab.com/ce/ssh/README.html
)
-
Instructions:
[
SSH
](
http://doc.gitlab.com/ce/ssh/README.html
)
...
@@ -96,7 +96,7 @@ git config --global --list
...
@@ -96,7 +96,7 @@ git config --global --list
---
---
~~~
bash
```
bash
mkdir
~/development
mkdir
~/development
cd
~/development
cd
~/development
...
@@ -104,7 +104,7 @@ cd ~/development
...
@@ -104,7 +104,7 @@ cd ~/development
mkdir
~/workspace
mkdir
~/workspace
cd
~/workspace
cd
~/workspace
~~~
```
---
---
...
@@ -155,7 +155,7 @@ cd ~/workspace
...
@@ -155,7 +155,7 @@ cd ~/workspace
---
---
~~~
shell
```
shell
# Edit `edit_this_file.rb`
# Edit `edit_this_file.rb`
git status
git status
git diff
git diff
...
@@ -163,7 +163,7 @@ git add <file>
...
@@ -163,7 +163,7 @@ git add <file>
git commit
-m
'My change'
git commit
-m
'My change'
git push origin master
git push origin master
git log
git log
~~~
```
---
---
...
@@ -176,14 +176,14 @@ git log
...
@@ -176,14 +176,14 @@ git log
---
---
~~~
shell
```
shell
git checkout
-b
squash_some_bugs
git checkout
-b
squash_some_bugs
# Edit `bugs.rb`
# Edit `bugs.rb`
git status
git status
git add bugs.rb
git add bugs.rb
git commit
-m
'Fix some buggy code'
git commit
-m
'Fix some buggy code'
git push origin squash_some_bugs
git push origin squash_some_bugs
~~~
```
---
---
...
@@ -314,7 +314,7 @@ Create a merge request on the GitLab web UI. You'll see a conflict warning.
...
@@ -314,7 +314,7 @@ Create a merge request on the GitLab web UI. You'll see a conflict warning.
### Unstage
### Unstage
To remove files from stage use reset HEAD. Where HEAD is the last commit of the current branch
.
To remove files from stage use reset HEAD. Where HEAD is the last commit of the current branch
:
git reset HEAD <file>
git reset HEAD <file>
...
@@ -322,12 +322,12 @@ This will unstage the file but maintain the modifications. To revert the file ba
...
@@ -322,12 +322,12 @@ This will unstage the file but maintain the modifications. To revert the file ba
git checkout -- <file>
git checkout -- <file>
To remove a file from disk and repo use 'git rm' and to rm a dir use the '-r' flag
.
To remove a file from disk and repo use 'git rm' and to rm a dir use the '-r' flag
:
git rm '*.txt'
git rm '*.txt'
git rm -r <dirname>
git rm -r <dirname>
If we want to remove a file from the repository but keep it on disk, say we forgot to add it to our .gitignore file then use
--cache.
If we want to remove a file from the repository but keep it on disk, say we forgot to add it to our .gitignore file then use
`--cache`
:
git rm <filename> --cache
git rm <filename> --cache
...
@@ -335,7 +335,7 @@ If we want to remove a file from the repository but keep it on disk, say we forg
...
@@ -335,7 +335,7 @@ If we want to remove a file from the repository but keep it on disk, say we forg
### Undo Commits
### Undo Commits
Undo last commit putting everything back into the staging area
.
Undo last commit putting everything back into the staging area
:
git reset --soft HEAD^
git reset --soft HEAD^
...
@@ -347,7 +347,7 @@ Undo last and remove changes
...
@@ -347,7 +347,7 @@ Undo last and remove changes
git reset --hard HEAD^
git reset --hard HEAD^
Same as last one but for two commits back
Same as last one but for two commits back
:
git reset --hard HEAD^^
git reset --hard HEAD^^
...
...
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