Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr-ressources
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Learning Lab
mooc-rr-ressources
Commits
856b8a32
Commit
856b8a32
authored
Sep 21, 2018
by
Konrad Hinsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revision of the Git/GitLab resources (module 2)
parent
0859d634
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
gitlab.org
module2/ressources/gitlab.org
+14
-14
No files found.
module2/ressources/gitlab.org
View file @
856b8a32
...
...
@@ -6,9 +6,9 @@
#+OPTIONS: num:nil toc:t
#+PROPERTY: header-args :eval never-export
*This document is particularly important if you follow the R
s
tudio or
the Org-Mode
course.* *If you follow the Jupyter course
, it can be
ignored
in a first step
* *as we have closely integrated Jupyter and
*This document is particularly important if you follow the R
S
tudio or
the Org-Mode
path.* *If you follow the Jupyter path
, it can be
ignored
at first
* *as we have closely integrated Jupyter and
GitLab in the context of this MOOC.*
So far, you only used git via the web interface from the GitLab we
...
...
@@ -30,10 +30,10 @@ Please read all these instructions carefully, in particular the one on
"Configuring your password on GitLab".
* Installing Git
** Linux (
debian, u
buntu)
We provide here only instructions for
d
ebian-based distributions. Feel
** Linux (
Debian, U
buntu)
We provide here only instructions for
D
ebian-based distributions. Feel
free to contribute to this document to provide up-to-date information
for other distributions (e.g.,
redhat, f
edora).
for other distributions (e.g.,
RedHat, F
edora).
Run (as root):
#+begin_src sh :results output :exports both
...
...
@@ -42,7 +42,7 @@ apt-get update ; apt-get install git
** Mac OSX and Windows
- Download and install Git from the [[https://git-scm.com/downloads][Git website]].
- Optional Git clients (should not be needed if you work within
R
s
tudio):
R
S
tudio):
- [[https://www.sourcetreeapp.com/][SourceTree]]
- [[https://desktop.github.com/][GitHub Desktop]]
#+BEGIN_QUOTE
...
...
@@ -50,7 +50,7 @@ apt-get update ; apt-get install git
#+END_QUOTE
* Configuring Git
** Telling Git who you are: Name and Email
1. Open
T
erminal.
1. Open
t
erminal.
2. Set a Git username and email:
#+begin_src shell :results output :exports both
git config --global user.name "Mona Lisa"
...
...
@@ -158,16 +158,16 @@ installing SSH, creating a pair or private/public keys, and uploading
your SSH public key on GitLab. This section provides with information
on how to do this.
*** Installing SSH
**** Linux (
debian, u
buntu)
**** Linux (
Debian, U
buntu)
We provide here only instructions for debian-based distributions. Feel
free to contribute to this document to provide up-to-date information
for other distributions (e.g.,
redhat, f
edora).
for other distributions (e.g.,
RedHat, F
edora).
Run (as root):
#+begin_src sh :results output :exports both
apt-get update ; apt-get install openssh-client
#+end_src
****
Mac OSX
****
macOS
You do not have anything to do as it is installed by default.
**** Windows
You should install the [[https://www.ssh.com/ssh/putty/windows/][Putty]] client. Once it is installed, look for
...
...
@@ -182,9 +182,9 @@ video:
* Using Git through the command line to synchronize your local files with Gitlab
This section describes a generic (through the command line) way to
synchronize your local files with Gitlab. You will not need this if
you follow the Jupyter
course. If you follow the Rstudio course
, all
these operations can be done through R
s
tudio and you may want to read
[[file:rstudio.org][the corresponding instructions]]. If you follow the Org-Mode
course
, all
you follow the Jupyter
path. If you follow the RStudio path
, all
these operations can be done through R
S
tudio and you may want to read
[[file:rstudio.org][the corresponding instructions]]. If you follow the Org-Mode
path
, all
these operations can be done through Magit and you may want to read
[[file:emacs_orgmode.org][the corresponding instructions]].
...
...
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