Skip to content
Snippets Groups Projects
Verified Commit e97995f1 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

minor changes

parent 0cd1d644
No related branches found
No related tags found
No related merge requests found
# How do I start working on a repository?
You have to `clone` it first:
You have to `clone` your fork first:
```bash
$ git clone ssh://git@gitlab.lcsb.uni.lu:8022/R3/school/git/basic-practice-pages.git
$ git clone ssh://git@gitlab.lcsb.uni.lu:8022/<first.last>/basic-practice-pages.git
```
If you did not configure your SSH key, clone using HTTPS:
```bash
$ git clone https://gitlab.lcsb.uni.lu/R3/school/git/basic-practice-pages
$ git clone https://gitlab.lcsb.uni.lu/<first.last>/basic-practice-pages
```
You will be prompted to enter your credentials.
Upstream (original) repository: https://gitlab.lcsb.uni.lu/R3/school/git/basic-practice-pages.git
\ No newline at end of file
......@@ -5,7 +5,7 @@
Add the `upstream` address (original/protected repository)
```bash
$ git remote add upstream git@github.com:LCSB-BioCore/basic-git-practice.git
$ git remote add upstream ssh://git@gitlab.lcsb.uni.lu:8022/R3/school/git/basic-practice-pages.git
```
![bulb](slides/img/bulb.png) Note the change in the URL.
......
# Amend or reverting a commit
# Amend or revert a commit
* `git commit --amend`: change a commit on `HEAD` (the last commit)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment