diff --git a/README.md b/README.md index fb0295500ac241875d179d07363fb2ce28160d84..821850bcae71f0e96fd420cee9b73303933a58bb 100644 --- a/README.md +++ b/README.md @@ -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