-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from LCSB-BioCore/develop
Regular merge of develop
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,58 @@ | ||
<img src="assets/img/r3-training-logo.png" height="150px"/> | ||
|
||
# Basic git course - Practice repository | ||
|
||
## How to get started? | ||
|
||
- Fork this repository by clicking on the `Fork` button on the top right of this page. | ||
- Clone your forked repository to your local computer. | ||
|
||
:warning: **Make sure that you have your SSH key and `git` properly configured**. | ||
|
||
```bash | ||
$ git clone [email protected]:<yourName>/basic-git-practice.git | ||
``` | ||
|
||
## Create your own branch | ||
|
||
The development scheme is based on a stable `master` branch and a development branch named `develop`. | ||
|
||
Before making changes, create your own branch from `develop`: | ||
```bash | ||
$ cd basic-git-practice | ||
$ git checkout develop # this switches the branch to develop | ||
$ git checkout -b myBranch # this checks out a new branch called myBranch | ||
``` | ||
|
||
## Make your changes | ||
|
||
Copy the file `template.md` in the folder `_attendees` and rename it with your firstname: | ||
|
||
```bash | ||
$ cd _attendees | ||
$ cp template.md myName.md | ||
``` | ||
|
||
Then, make your changes with your favorite editor! | ||
|
||
## Commit your changes and push | ||
|
||
When you are done editing your file, add the file to the stage and commit it: | ||
```bash | ||
$ git add myName.md | ||
$ git commit -m "Edite the content of the subpage myName.md" | ||
``` | ||
|
||
Once you are done committing, you can push your branch to your fork: | ||
``` | ||
$ git push origin myBranch | ||
``` | ||
|
||
## Open a pull-request | ||
|
||
If you now browse to your fork on Github, you can open a pull request and submit it for review. | ||
|
||
:warning: Watch out for comments from the reviewer! If there are things to be chaned, simply change locally, commit, | ||
and then push again. The pull-request will update automatically. | ||
|
||
Once the pull request has been accepted, you will be able to see your page online! :tada: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
layout: default | ||
name: Firstname Lastname | ||
position: Position | ||
group: GroupName | ||
institution: University of Luxembourg | ||
ghurl: https://github.com/<yourUserName> | ||
ghimg: https://avatars2.githubusercontent.com/u/44060023 | ||
--- | ||
|
||
<a href="{{ page.ghurl }}"><img src="{{ page.ghimg }}" height="150px"/></a> | ||
|
||
# {{ page.name }} | ||
|
||
{{ page.name }} is a {{ page.position | downcase }} in the {{ page.group }} at the {{ page.institution }}. | ||
|
||
<a href="{{ site.baseurl }}">back</a> |