Skip to content
Snippets Groups Projects
Commit 9e56f362 authored by Christian Strauch's avatar Christian Strauch
Browse files

add information how you can have access to the repo

parent 04a099bf
Branches
No related tags found
No related merge requests found
......@@ -2,11 +2,19 @@
This is a short README to our git workshop.
## Getting started
- go on `git.rwth-aachen.de`. You will see my project
- Press `Fork` to create a fork of the project
- use the Windows Explorer and go in a suitable directory
- create a local directory named `git`
- open a terminal in this directory
- `git clone git@git.rwth-aachen.de:christian.strauch/git-tutorial.git`
- `git fork git@git.rwth-aachen.de:<your_username>/git-tutorial.git`
- check with `git remote -v` if you have an origin stream (my repository) and a stream called `fork` (your fork)
- `git config --global user.name <yourusername>, for example "christian.strauch"
- `git config --global user.mail <youremail>`
- go in gitlab in the prererences of your account and then to access token. Generate an access token for all rights and save the password in a local file.
- `git clone https://git.rwth-aachen.de/<your-username>/git-tutorial.git>>
- you will asked for username and password. Username is your email and password is the password of the access token
-git upstream https://git.rwth-aachen.de/christian.strauch/git-tutorial.git`
- check with `git remote -v` if you have an origin stream (your fork) and a stream called `upstream` (my repository)
## Basic commands
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment